[orion]: only copy uImages to the bin dir on ramdisk builds
authorImre Kaloz <kaloz@openwrt.org>
Wed, 5 Jun 2013 06:17:12 +0000 (06:17 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Wed, 5 Jun 2013 06:17:12 +0000 (06:17 +0000)
SVN-Revision: 36851

target/linux/orion/image/generic.mk

index c3aa50f01ca05e5a992b6a41e2e8f8fb5bbb1ebc..19daaf647aabb20afed7809d9f5940557d57661a 100644 (file)
@@ -82,7 +82,9 @@ define Image/BuildKernel/ARM/uImage
        '$(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'
+ ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)  # only copy uImage for ramdisk build
        cp '$(KDIR)/$(1)-uImage' '$(BIN_DIR)/openwrt-$(1)-uImage'
+ endif
 endef
 
 define Image/BuildKernel/JFFS2uImage