From: Florian Fainelli Date: Tue, 1 Apr 2014 22:20:49 +0000 (+0000) Subject: orion: fix initramfs uImage generation X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5b6d0b18189b7c703d02b84f29c7a65a5e034b8a;p=openwrt%2Fstaging%2Fansuel.git orion: fix initramfs uImage generation We would fail to copy an non-existent uImage-initramfs to $(BIN_DIR) Signed-off-by: Florian Fainelli SVN-Revision: 40358 --- diff --git a/target/linux/orion/image/generic.mk b/target/linux/orion/image/generic.mk index 4e53706192..5cf232c0ad 100644 --- a/target/linux/orion/image/generic.mk +++ b/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