aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2014-02-12 10:51:46 +0000
committerImre Kaloz <kaloz@openwrt.org>2014-02-12 10:51:46 +0000
commit9a9b0be97b72c09c98f78858730706ee2777e27d (patch)
treeb4aa179b5b7bd9a43c01ec2bf4c1c4f0fa6f8b0c /target
parent80cef23aaf2b11f12456b646c74f4ed9e30cbb51 (diff)
downloadupstream-9a9b0be97b72c09c98f78858730706ee2777e27d.tar.gz
upstream-9a9b0be97b72c09c98f78858730706ee2777e27d.tar.bz2
upstream-9a9b0be97b72c09c98f78858730706ee2777e27d.zip
[omap]: copy initramfs zImage to the bin dir as well
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39577 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/omap/image/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/omap/image/Makefile b/target/linux/omap/image/Makefile
index 91b9df3b57..e681b04267 100644
--- a/target/linux/omap/image/Makefile
+++ b/target/linux/omap/image/Makefile
@@ -11,7 +11,10 @@ UBIFS_OPTS = -F -m 2048 -e 124KiB -c 4096 -U
UBI_OPTS = -m 2048 -p 128KiB -s 512 -O 2048
define Image/BuildKernel
- cp $(KDIR)/zImage $(BIN_DIR)/openwrt-$(BOARD)-zImage
+ $(CP) $(KDIR)/zImage $(BIN_DIR)/openwrt-$(BOARD)-zImage
+ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
+ $(CP) $(KDIR)/zImage-initramfs $(BIN_DIR)/openwrt-$(BOARD)-zImage-initramfs
+ endif
-mkdir $(BIN_DIR)/dtbs
-$(CP) $(LINUX_DIR)/arch/arm/boot/dts/am335x*.dtb $(BIN_DIR)/dtbs/
-$(CP) $(LINUX_DIR)/arch/arm/boot/dts/omap3*.dtb $(BIN_DIR)/dtbs/