orion: fix initramfs uImage generation
We would fail to copy an non-existent uImage-initramfs to $(BIN_DIR) Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 40358
This commit is contained in:
parent
e1fbee0327
commit
5b6d0b1818
|
@ -83,7 +83,7 @@ define Image/BuildKernel/ARM/uImage
|
||||||
# $(BOARD) kernel uImage for $(1)
|
# $(BOARD) kernel uImage for $(1)
|
||||||
'$(STAGING_DIR_HOST)/bin/mkimage' -A arm -O linux -T kernel \
|
'$(STAGING_DIR_HOST)/bin/mkimage' -A arm -O linux -T kernel \
|
||||||
-C none -a 0x00008000 -e 0x00008000 -n 'Linux-$(LINUX_VERSION)' \
|
-C none -a 0x00008000 -e 0x00008000 -n 'Linux-$(LINUX_VERSION)' \
|
||||||
-d '$(KDIR)/$(1)-zImage' '$(KDIR)/$(1)-uImage'
|
-d '$(KDIR)/$(1)-zImage$(2)' '$(KDIR)/$(1)-uImage$(2)'
|
||||||
ifeq ($(2),-initramfs) # only copy uImage for ramdisk build
|
ifeq ($(2),-initramfs) # only copy uImage for ramdisk build
|
||||||
cp '$(KDIR)/$(1)-uImage-initramfs' '$(BIN_DIR)/openwrt-$(1)-uImage-initramfs'
|
cp '$(KDIR)/$(1)-uImage-initramfs' '$(BIN_DIR)/openwrt-$(1)-uImage-initramfs'
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue