From: Gabor Juhos Date: Wed, 25 Apr 2012 18:53:46 +0000 (+0000) Subject: adm8668: use a suffix for initramfs images X-Git-Tag: reboot~14142 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=15d641eee1485c73852661c79d0487f2c43f6091;p=openwrt%2Fstaging%2Fxback.git adm8668: use a suffix for initramfs images SVN-Revision: 31478 --- 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))