From de0bb1d6c480b2945cf25f80116d963b22dd3c7a Mon Sep 17 00:00:00 2001 From: mbm Date: Thu, 10 May 2007 14:37:47 +0000 Subject: unified preinit environment git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7173 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm-2.4/image/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'target/linux/brcm-2.4/image') diff --git a/target/linux/brcm-2.4/image/Makefile b/target/linux/brcm-2.4/image/Makefile index 41bd1c89c..6515d134c 100644 --- a/target/linux/brcm-2.4/image/Makefile +++ b/target/linux/brcm-2.4/image/Makefile @@ -50,7 +50,12 @@ define trxalign/squashfs -a 1024 endef +define Image/Build/squashfs + $(call prepare_generic_squashfs,$(KDIR)/root.squashfs) +endef + define Image/Build + $(call Image/Build/$(1)) $(STAGING_DIR)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1)) -f $(KDIR)/root.$(1) ifneq ($(1),jffs2-128k) $(call Image/Build/CyberTAN,$(1),wrt54g3g,W54F,2.01.1,$(patsubst jffs2-%,jffs2,$(1))) -- cgit v1.2.3