aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm8668/image
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-04-25 18:53:46 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-04-25 18:53:46 +0000
commit15d641eee1485c73852661c79d0487f2c43f6091 (patch)
treee7090b38465872396540444db31be5321508e69f /target/linux/adm8668/image
parent68a6a13517532f16727755664818734ebcf1ffb9 (diff)
downloadupstream-15d641eee1485c73852661c79d0487f2c43f6091.tar.gz
upstream-15d641eee1485c73852661c79d0487f2c43f6091.tar.bz2
upstream-15d641eee1485c73852661c79d0487f2c43f6091.zip
adm8668: use a suffix for initramfs images
SVN-Revision: 31478
Diffstat (limited to 'target/linux/adm8668/image')
-rw-r--r--target/linux/adm8668/image/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/adm8668/image/Makefile b/target/linux/adm8668/image/Makefile
index 57b8d7ba54..58646638ea 100644
--- a/target/linux/adm8668/image/Makefile
+++ b/target/linux/adm8668/image/Makefile
@@ -7,6 +7,11 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
+VMLINUX:=$(BIN_DIR)/$(IMG_PREFIX)-vmlinux
+ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
+ VMLINUX:=$(BIN_DIR)/$(IMG_PREFIX)-vmlinux-initramfs
+endif
+
define Build/Clean
$(MAKE) -C lzma-loader clean
endef
@@ -26,4 +31,9 @@ define Image/Build
$(KDIR)/fs_mark $(BIN_DIR)/$(IMG_PREFIX)-$(1).bin
endef
+define Image/BuildKernel
+ cp $(KDIR)/vmlinux.elf $(VMLINUX).elf
+ cp $(KDIR)/vmlinux $(VMLINUX).bin
+endef
+
$(eval $(call BuildImage))