1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-15 03:33:52 +02:00

adm8668: use a suffix for initramfs images

SVN-Revision: 31478
This commit is contained in:
Gabor Juhos 2012-04-25 18:53:46 +00:00
parent 68a6a13517
commit 15d641eee1

View File

@ -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))