Skip to content
Snippets Groups Projects
Commit 28e8b8dc authored by Imre Kaloz's avatar Imre Kaloz
Browse files

only copy uImages to the bin dir on ramdisk builds

SVN-Revision: 36851
parent e161581d
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,9 @@ define Image/BuildKernel/ARM/uImage ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment