aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm-2.4/image/Makefile
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2007-05-10 14:37:47 +0000
committerMike Baker <mbm@openwrt.org>2007-05-10 14:37:47 +0000
commit4a41439c46022840555c3c16c30324b5760c07e2 (patch)
tree4724b34dc713936c9d20d3d93dc5778a4e849db3 /target/linux/brcm-2.4/image/Makefile
parent862103b0398c9cf0b5ba1d1a58d8a81bbe3d4452 (diff)
downloadupstream-4a41439c46022840555c3c16c30324b5760c07e2.tar.gz
upstream-4a41439c46022840555c3c16c30324b5760c07e2.tar.bz2
upstream-4a41439c46022840555c3c16c30324b5760c07e2.zip
unified preinit environment
SVN-Revision: 7173
Diffstat (limited to 'target/linux/brcm-2.4/image/Makefile')
-rw-r--r--target/linux/brcm-2.4/image/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/brcm-2.4/image/Makefile b/target/linux/brcm-2.4/image/Makefile
index 41bd1c89cd..6515d134c8 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)))