mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
cccf3181a6
In preparation for EN7581 SoC support, move en7523 in dedicated subtarget. This is needed as EN7581 is now 64bit but en7523 is 32bit hence have very different kernel config. Also rename patch to a more friendly number sequence. Link: https://github.com/openwrt/openwrt/pull/16730 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
26 lines
690 B
Makefile
26 lines
690 B
Makefile
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/image.mk
|
|
|
|
# default all platform image(fit) build
|
|
define Device/Default
|
|
PROFILES = Default $$(DEVICE_NAME)
|
|
KERNEL_NAME := Image
|
|
KERNEL = kernel-bin | lzma | \
|
|
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
|
KERNEL_INITRAMFS = kernel-bin | lzma | \
|
|
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb with-initrd
|
|
FILESYSTEMS := squashfs
|
|
DEVICE_DTS_DIR := $(DTS_DIR)
|
|
IMAGES := sysupgrade.bin
|
|
IMAGE/sysupgrade.bin := append-kernel | pad-to 128k | append-rootfs | \
|
|
pad-rootfs | append-metadata
|
|
endef
|
|
|
|
include $(SUBTARGET).mk
|
|
|
|
define Image/Build
|
|
$(call Image/Build/$(1),$(1))
|
|
endef
|
|
|
|
$(eval $(call BuildImage))
|