Hi<br> 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> $(WGET) -P $(DL_DIR) $(FFMPEG_SITE)/$(FFMPEG_SOURCE)<br>
<br>$(FFMPEG_DIR)/.unpacked: $(DL_DIR)/$(FFMPEG_SOURCE)<br> $(FFMPEG_CAT) $(DL_DIR)/$(FFMPEG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -<br> toolchain/patch-kernel.sh $(FFMPEG_DIR) package/ffmpeg/ ffmpeg-$(FFMPEG_VERSION)\*.patch\*<br>
$(CONFIG_UPDATE) $(FFMPEG_DIR)<br> touch $@<br><br>$(FFMPEG_DIR)/.configured: $(FFMPEG_DIR)/.unpacked<br> (cd $(FFMPEG_DIR); rm -rf config.cache; \<br> $(TARGET_CONFIGURE_OPTS) \<br> $(TARGET_CONFIGURE_ARGS) \<br>
CFLAGS="$(TARGET_CFLAGS)" \<br> LDFLAGS="$(TARGET_LDFLAGS)" \<br> ./configure \<br> --prefix=/usr \<br> --enable-cross-compile \<br>
--target-os=$(GNU_TARGET_NAME) \<br> --cc=$(TARGET_CC) \<br> --disable-static \<br> --enable-shared \<br> --disable-ffplay \<br> )<br> touch $@<br>
<br>$(FFMPEG_DIR)/$(FFMPEG_BINARY): $(FFMPEG_DIR)/.configured<br> $(MAKE) -C $(FFMPEG_DIR)<br> touch -c $@<br>$(TARGET_DIR)/$(FFMPEG_TARGET_BINARY): $(FFMPEG_DIR)/$(FFMPEG_BINARY)<br> $(MAKE) DESTDIR=$(TARGET_DIR) -C $(FFMPEG_DIR) install<br>
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/$(FFMPEG_TARGET_BINARY)<br> touch -c $@<br><br>ffmpeg: uclibc $(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> rm -f $(TARGET_DIR)/$(FFMPEG_TARGET_BINARY)<br> -$(MAKE) -C $(FFMPEG_DIR) clean<br><br>ffmpeg-dirclean:<br> 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. 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.