From: Felix Fietkau Date: Sat, 22 Oct 2005 18:55:48 +0000 (+0000) Subject: add missing piece from whiterussian image building makefile to trunk/ X-Git-Tag: kamikaze_7.06~2582 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3f06c9bcf2b564317d891df3fe5b41050719cd91;p=openwrt%2Fsvn-archive%2Fopenwrt.git add missing piece from whiterussian image building makefile to trunk/ SVN-Revision: 2250 --- diff --git a/openwrt/target/linux/image/brcm/Makefile b/openwrt/target/linux/image/brcm/Makefile index 73d236a2d5..31f941fc30 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))