summaryrefslogtreecommitdiff
path: root/target/linux/brcm-2.4/image/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-11-16 03:11:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-11-16 03:11:17 +0000
commitbf0dd24627877a7a5bc71a8408678cedbd78583c (patch)
tree44f981976a62a86972d9538d35ccac933c221664 /target/linux/brcm-2.4/image/Makefile
parente3ecefbd23d297ed659422db4b9a886dbfebbdca (diff)
downloadmtk-20170518-bf0dd24627877a7a5bc71a8408678cedbd78583c.zip
mtk-20170518-bf0dd24627877a7a5bc71a8408678cedbd78583c.tar.gz
mtk-20170518-bf0dd24627877a7a5bc71a8408678cedbd78583c.tar.bz2
create broadcom initramfs images and move the lzma decompressor area a bit further
SVN-Revision: 9556
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 51975fe..1119293 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))