mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
adm8668: use a suffix for initramfs images
SVN-Revision: 31478
This commit is contained in:
parent
68a6a13517
commit
15d641eee1
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user