Browse Source

orion: fix initramfs uImage generation

We would fail to copy an non-existent uImage-initramfs to $(BIN_DIR)

Signed-off-by: Florian Fainelli <[email protected]>

SVN-Revision: 40358
Florian Fainelli 11 years ago
parent
commit
5b6d0b1818
1 changed files with 1 additions and 1 deletions
  1. 1 1
      target/linux/orion/image/generic.mk

+ 1 - 1
target/linux/orion/image/generic.mk

@@ -83,7 +83,7 @@ define Image/BuildKernel/ARM/uImage
 	# $(BOARD) kernel uImage for $(1)
 	'$(STAGING_DIR_HOST)/bin/mkimage' -A arm -O linux -T kernel \
 	-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
 	cp '$(KDIR)/$(1)-uImage-initramfs' '$(BIN_DIR)/openwrt-$(1)-uImage-initramfs'
  endif