mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 13:35:31 +02:00
brcm63xx image generation cleanups (#3169)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10703 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
42145b74df
commit
4e758fef01
@ -39,10 +39,15 @@ define Image/Prepare
|
|||||||
TARGET="$(KDIR)" \
|
TARGET="$(KDIR)" \
|
||||||
clean install
|
clean install
|
||||||
echo -ne "\\x00" >> $(KDIR)/loader.gz
|
echo -ne "\\x00" >> $(KDIR)/loader.gz
|
||||||
|
rm -f $(KDIR)/fs_mark
|
||||||
|
touch $(KDIR)/fs_mark
|
||||||
|
$(call prepare_generic_squashfs,$(KDIR)/fs_mark)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build
|
define Image/Build
|
||||||
|
ifneq($(1),ext2)
|
||||||
$(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(1).trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1)) -f $(KDIR)/root.$(1)
|
$(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(1).trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1)) -f $(KDIR)/root.$(1)
|
||||||
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildImage))
|
$(eval $(call BuildImage))
|
||||||
|
Loading…
Reference in New Issue
Block a user