summaryrefslogtreecommitdiff
path: root/target/linux/orion/image/generic.mk
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2014-04-01 22:20:49 +0000
committerFlorian Fainelli <florian@openwrt.org>2014-04-01 22:20:49 +0000
commit5b6d0b18189b7c703d02b84f29c7a65a5e034b8a (patch)
treebaeed9b676463d2ba6aa18f514d3432b21f3d610 /target/linux/orion/image/generic.mk
parente1fbee0327f47e79771245896f603e3f91a222fc (diff)
downloadmtk-20170518-5b6d0b18189b7c703d02b84f29c7a65a5e034b8a.zip
mtk-20170518-5b6d0b18189b7c703d02b84f29c7a65a5e034b8a.tar.gz
mtk-20170518-5b6d0b18189b7c703d02b84f29c7a65a5e034b8a.tar.bz2
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
Diffstat (limited to 'target/linux/orion/image/generic.mk')
-rw-r--r--target/linux/orion/image/generic.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/orion/image/generic.mk b/target/linux/orion/image/generic.mk
index 4e53706..5cf232c 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