Hi<br>&nbsp; I was trying to build ffmpeg with the current snap shot of the buildroot package, and am having some problem..<br><br>1. grub-0.97-35.diff (something like this) is not found any more. so I download 0.97-40, and remove one of the patch, and grub was able to compile...<br>
<br>the real question is the following, here is the ffmpeg rule I wrote,<br><br>----------------------------------------------------------<br><br>FFMPEG_VERSION:=export-2008-06-30<br>FFMPEG_SOURCE:=ffmpeg-export-snapshot.tar.bz2<br>
FFMPEG_SITE:=<a href="http://ffmpeg.mplayerhq.hu">http://ffmpeg.mplayerhq.hu</a><br>FFMPEG_DIR:=$(BUILD_DIR)/ffmpeg-$(FFMPEG_VERSION)<br>FFMPEG_CAT:=$(BZCAT)<br>FFMPEG_BINARY:=ffmpeg<br>FFMPEG_TARGET_BINARY:=usr/bin/$(FFMPEG_BINARY)<br>
FFMPEG_LIB:=usr/lib/libavcodec.so<br>FFMPEG_LIB+=usr/lib/libavformat.so<br>FFMPEG_LIB+=usr/lib/libavdevice.so<br>FFMPEG_LIB+=usr/lib/libavutil.so<br><br>$(DL_DIR)/$(FFMPEG_SOURCE):<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(WGET) -P $(DL_DIR) $(FFMPEG_SITE)/$(FFMPEG_SOURCE)<br>
<br>$(FFMPEG_DIR)/.unpacked: $(DL_DIR)/$(FFMPEG_SOURCE)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(FFMPEG_CAT) $(DL_DIR)/$(FFMPEG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; toolchain/patch-kernel.sh $(FFMPEG_DIR) package/ffmpeg/ ffmpeg-$(FFMPEG_VERSION)\*.patch\*<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(CONFIG_UPDATE) $(FFMPEG_DIR)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; touch $@<br><br>$(FFMPEG_DIR)/.configured: $(FFMPEG_DIR)/.unpacked<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (cd $(FFMPEG_DIR); rm -rf config.cache; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(TARGET_CONFIGURE_OPTS) \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(TARGET_CONFIGURE_ARGS) \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CFLAGS=&quot;$(TARGET_CFLAGS)&quot; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LDFLAGS=&quot;$(TARGET_LDFLAGS)&quot; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ./configure \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --prefix=/usr \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --enable-cross-compile \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --target-os=$(GNU_TARGET_NAME) \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --cc=$(TARGET_CC) \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --disable-static \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --enable-shared \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --disable-ffplay \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; touch $@<br>
<br>$(FFMPEG_DIR)/$(FFMPEG_BINARY): $(FFMPEG_DIR)/.configured<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(MAKE) -C $(FFMPEG_DIR)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; touch -c $@<br>$(TARGET_DIR)/$(FFMPEG_TARGET_BINARY): $(FFMPEG_DIR)/$(FFMPEG_BINARY)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(MAKE) DESTDIR=$(TARGET_DIR) -C $(FFMPEG_DIR) install<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/$(FFMPEG_TARGET_BINARY)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; touch -c $@<br><br>ffmpeg: uclibc&nbsp; $(TARGET_DIR)/$(FFMPEG_TARGET_BINARY)<br><br>ffmpeg-source: $(DL_DIR)/$(FFMPEG_SOURCE)<br><br>
ffmpeg-unpacked: $(FFMPEG_DIR)/.unpacked<br><br>ffmpeg-clean:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rm -f $(TARGET_DIR)/$(FFMPEG_TARGET_BINARY)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -$(MAKE) -C $(FFMPEG_DIR) clean<br><br>ffmpeg-dirclean:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rm -rf $(FFMPEG_DIR)<br>#############################################################<br>
#<br># Toplevel Makefile options<br>#<br>#############################################################<br>ifeq ($(strip $(BR2_PACKAGE_FFMPEG)),y)<br>TARGETS+=ffmpeg<br>endif<br><br>---------------------------------------------------------<br clear="all">
<br>I must have totally mess up the make file, as the system I created is as big as 70M, while I have nothing included, only the kernel and busybox..<br>and even more weird is that if I remove the .iso after a run, and re-run make, the iso image grows...<br>
so I am guess some rule I wrote, I forgot to touch some file, and some process got performed many times.&nbsp; please advise if you see any obvious mistake. thanks<br><br>chen<br><br><br>-- <br> Any MicroSoft extension file will directly go to trash without any warning and regret.