aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm8668
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
commit999e94b5d90d75b52a7d2395615a33c94f6327dc (patch)
tree0c1fd6d6ee51c1be5ab0dc097fb1835c562bb384 /target/linux/adm8668
parent69822a83687d3cb2a5035ceea55bdc658d9674a7 (diff)
downloadupstream-999e94b5d90d75b52a7d2395615a33c94f6327dc.tar.gz
upstream-999e94b5d90d75b52a7d2395615a33c94f6327dc.tar.bz2
upstream-999e94b5d90d75b52a7d2395615a33c94f6327dc.zip
adm8668: use a suffix for initramfs images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31478 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm8668')
-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))