aboutsummaryrefslogtreecommitdiffstats
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
commit07147838577ca6509e269679fc3df06ce2730132 (patch)
tree967accda63f39bf9a70ce97a1a83edb706ff5fb5 /target/linux/orion/image/generic.mk
parent45e2e2e35244b74b5aabd8cfd62b91e050d88137 (diff)
downloadupstream-07147838577ca6509e269679fc3df06ce2730132.tar.gz
upstream-07147838577ca6509e269679fc3df06ce2730132.tar.bz2
upstream-07147838577ca6509e269679fc3df06ce2730132.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40358 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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