From 4e758fef01d830404250ebdaf75ee0e26ad4f386 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 1 Apr 2008 21:10:47 +0000 Subject: brcm63xx image generation cleanups (#3169) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10703 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm63xx/image/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'target/linux/brcm63xx') diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index 04231b4e85..fab73efd20 100644 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -39,10 +39,15 @@ define Image/Prepare TARGET="$(KDIR)" \ clean install echo -ne "\\x00" >> $(KDIR)/loader.gz + rm -f $(KDIR)/fs_mark + touch $(KDIR)/fs_mark + $(call prepare_generic_squashfs,$(KDIR)/fs_mark) endef define Image/Build +ifneq($(1),ext2) $(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(1).trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1)) -f $(KDIR)/root.$(1) +endif endef $(eval $(call BuildImage)) -- cgit v1.2.3