[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
master
Imre Kaloz 2013-06-05 06:17:12 +00:00
parent 4df0b1706c
commit 31eaa46c9b
1 changed files with 2 additions and 0 deletions

View File

@ -82,7 +82,9 @@ define Image/BuildKernel/ARM/uImage
'$(STAGING_DIR_HOST)/bin/mkimage' -A arm -O linux -T kernel \ '$(STAGING_DIR_HOST)/bin/mkimage' -A arm -O linux -T kernel \
-C none -a 0x00008000 -e 0x00008000 -n 'Linux-$(LINUX_VERSION)' \ -C none -a 0x00008000 -e 0x00008000 -n 'Linux-$(LINUX_VERSION)' \
-d '$(KDIR)/$(1)-zImage' '$(KDIR)/$(1)-uImage' -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' cp '$(KDIR)/$(1)-uImage' '$(BIN_DIR)/openwrt-$(1)-uImage'
endif
endef endef
define Image/BuildKernel/JFFS2uImage define Image/BuildKernel/JFFS2uImage