From: kaloz Date: Wed, 5 Jun 2013 06:17:12 +0000 (+0000) Subject: [orion]: only copy uImages to the bin dir on ramdisk builds X-Git-Tag: fast2504n-3.10.28-merged~2412 X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=ebe15c1288969d219b8aec02a09090c37b9c2171;p=openwrt.git [orion]: only copy uImages to the bin dir on ramdisk builds git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36851 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/orion/image/generic.mk b/target/linux/orion/image/generic.mk index c3aa50f01c..19daaf647a 100644 --- a/target/linux/orion/image/generic.mk +++ b/target/linux/orion/image/generic.mk @@ -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