mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-14 08:01:53 +02:00
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
This commit is contained in:
parent
285cb4f1e1
commit
65c5649cd4
@ -25,8 +25,13 @@ endif
|
|||||||
ifeq ($(FS),jffs2-4MB)
|
ifeq ($(FS),jffs2-4MB)
|
||||||
TRXALIGN:=-a 0x10000
|
TRXALIGN:=-a 0x10000
|
||||||
endif
|
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)
|
ifeq ($(KERNEL),2.6)
|
||||||
FSNAME:=$(patsubst jffs2-%,jffs2,$(FS))
|
FSNAME:=$(patsubst jffs2-%,jffs2,$(FS))
|
||||||
|
Loading…
Reference in New Issue
Block a user