summaryrefslogtreecommitdiff
path: root/target/linux/brcm-2.4/image/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-11-16 03:11:17 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-11-16 03:11:17 +0000
commit2fa2282b6ffc52cc3c76352da364197de26b0e06 (patch)
tree6f19bb53f78baf73388d1bc0c6e785fda3b680f9 /target/linux/brcm-2.4/image/Makefile
parent173083fcbf381c607ab566aafee9425e6a66d256 (diff)
create broadcom initramfs images and move the lzma decompressor area a bit further
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9556 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm-2.4/image/Makefile')
-rw-r--r--target/linux/brcm-2.4/image/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/brcm-2.4/image/Makefile b/target/linux/brcm-2.4/image/Makefile
index 51975fe702..11192935cb 100644
--- a/target/linux/brcm-2.4/image/Makefile
+++ b/target/linux/brcm-2.4/image/Makefile
@@ -78,6 +78,10 @@ define Image/Build/squashfs
$(call Image/Build/jffs2-128k,$(1))
endef
+define Image/Build/Initramfs
+ $(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-initramfs.trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma
+endef
+
define Image/Build
$(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(1).trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1),$(1))
$(call Image/Build/$(1),$(1))