mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 11:09:57 +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 $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/image.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
|
define Build/Clean
|
||||||
$(MAKE) -C lzma-loader clean
|
$(MAKE) -C lzma-loader clean
|
||||||
endef
|
endef
|
||||||
@ -26,4 +31,9 @@ define Image/Build
|
|||||||
$(KDIR)/fs_mark $(BIN_DIR)/$(IMG_PREFIX)-$(1).bin
|
$(KDIR)/fs_mark $(BIN_DIR)/$(IMG_PREFIX)-$(1).bin
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Image/BuildKernel
|
||||||
|
cp $(KDIR)/vmlinux.elf $(VMLINUX).elf
|
||||||
|
cp $(KDIR)/vmlinux $(VMLINUX).bin
|
||||||
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildImage))
|
$(eval $(call BuildImage))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user