mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
make the image filenames a bit shorter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9533 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -30,14 +30,14 @@ define Image/Prepare
|
||||
endef
|
||||
|
||||
define Image/BuildKernel
|
||||
cp $(KDIR)/uImage $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-uImage
|
||||
cp $(KDIR)/uImage $(BIN_DIR)/openwrt-$(BOARD)-uImage
|
||||
endef
|
||||
|
||||
define Image/Build
|
||||
dd if=$(KDIR)/uImage of=$(KDIR)/uImage.block bs=8448 conv=sync
|
||||
dd if=$(KDIR)/root.squashfs of=$(KDIR)/root.block bs=8448 conv=sync
|
||||
cat $(KDIR)/uImage.block $(KDIR)/root.block > $(KDIR)/knlroot.bin
|
||||
$(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL).trx -f $(KDIR)/dfboot.bin -f$(KDIR)/u-boot.full -f$(KDIR)/knlroot.bin
|
||||
$(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD).trx -f $(KDIR)/dfboot.bin -f$(KDIR)/u-boot.full -f$(KDIR)/knlroot.bin
|
||||
cp $(KDIR)/dfbptest.bin $(BIN_DIR)
|
||||
$(call Image/Build/$(1),$(1))
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user