diff options
| author | Felix Fietkau <nbd@openwrt.org> | 2005-10-22 18:55:48 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@openwrt.org> | 2005-10-22 18:55:48 +0000 |
| commit | 5c84e4e904f83ed45cabb527cf4c8b49ae70d6bc (patch) | |
| tree | 9480b6987f72ba5c2ec4e7a97797fc5fd610c745 | |
| parent | 27eebc5cad62f4c93740e162d7f55c5cf8cd6ae8 (diff) | |
| download | upstream-5c84e4e904f83ed45cabb527cf4c8b49ae70d6bc.tar.gz upstream-5c84e4e904f83ed45cabb527cf4c8b49ae70d6bc.tar.bz2 upstream-5c84e4e904f83ed45cabb527cf4c8b49ae70d6bc.zip | |
add missing piece from whiterussian image building makefile to trunk/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2250 3c298f89-4303-0410-b956-a3cf2f4a3e73
| -rw-r--r-- | openwrt/target/linux/image/brcm/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/openwrt/target/linux/image/brcm/Makefile b/openwrt/target/linux/image/brcm/Makefile index 73d236a2d52..31f941fc30e 100644 --- a/openwrt/target/linux/image/brcm/Makefile +++ b/openwrt/target/linux/image/brcm/Makefile @@ -25,8 +25,13 @@ endif ifeq ($(FS),jffs2-4MB) TRXALIGN:=-a 0x10000 endif -$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).trx: - $(STAGING_DIR)/bin/trx -o $@ $(BUILD_DIR)/loader.gz $(KDIR)/vmlinux.lzma $(TRXALIGN) $(KDIR)/root.$(FS) + +$(KDIR)/loader.tmp.gz: + cp $(BUILD_DIR)/loader.gz $@ + echo -ne "\\x00" >> $@ + +$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).trx: $(KDIR)/loader.tmp.gz + $(STAGING_DIR)/bin/trx -o $@ $(KDIR)/loader.tmp.gz $(KDIR)/vmlinux.lzma $(TRXALIGN) $(KDIR)/root.$(FS) ifeq ($(KERNEL),2.6) FSNAME:=$(patsubst jffs2-%,jffs2,$(FS)) |
