1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 15:05:31 +02:00

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
This commit is contained in:
nbd 2007-11-16 03:11:17 +00:00
parent 173083fcbf
commit 2fa2282b6f
2 changed files with 5 additions and 1 deletions

View File

@ -78,6 +78,10 @@ define Image/Build/squashfs
$(call Image/Build/jffs2-128k,$(1)) $(call Image/Build/jffs2-128k,$(1))
endef 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 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)) $(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)) $(call Image/Build/$(1),$(1))

View File

@ -18,7 +18,7 @@
# #
TEXT_START := 0x80001000 TEXT_START := 0x80001000
BZ_TEXT_START := 0x80300000 BZ_TEXT_START := 0x80400000
OBJCOPY := $(CROSS_COMPILE)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S OBJCOPY := $(CROSS_COMPILE)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S