0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-22 04:56:15 +00:00
openwrt/target/linux/pistachio/image/Makefile
Nick Hainke 047361dee4
treewide: cleanup kernel symbol references
We only use 5.15 kernel. So remove all those unnecessary symbols
referencing 5.10 or 5.15 kernel.

Can be found with:
  git grep -E 'LINUX_5_1(0|5)'

Note that we remove the dependency from "sound-soc-chipdip-dac" instead
of removing the complete kernel package. The 5.15 version bump forgot to
delete the "@LINUX_5_10" dependency. The kernel package is still needed
in 5.15 kernel.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-12 13:02:44 +02:00

40 lines
1.0 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2017 OpenWrt.org
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
KERNEL_LOADADDR := 0x80100000
define Device/Default
PROFILES := Default
FILESYSTEMS := squashfs
KERNEL_DEPENDS = $$(wildcard $$(DTS_DIR)/$$(DEVICE_DTS).dts)
KERNEL = kernel-bin | gzip | fit gzip $$(DTS_DIR)/$$(DEVICE_DTS).dtb
KERNEL_SUFFIX := -kernel.itb
KERNEL_INSTALL := 1
KERNEL_IN_UBI := 1
DEVICE_DTS_CONFIG := config@1
IMAGES := factory.ubi sysupgrade.tar
IMAGE/factory.ubi := append-ubi
IMAGE/sysupgrade.tar := sysupgrade-tar
endef
define Device/img_creator-ci40
DEVICE_VENDOR := Imagination Technologies
DEVICE_MODEL := Creator Ci40 (VL-62899)
DEVICE_ALT0_VENDOR := Imagination Technologies
DEVICE_ALT0_MODEL := Marduk board
BOARD_NAME := img,pistachio-marduk
DEVICE_DTS := img/pistachio_marduk
BLOCKSIZE := 256KiB
PAGESIZE := 4KiB
DEVICE_PACKAGES := kmod-tpm-i2c-infineon kmod-ca8210 wpan-tools
endef
TARGET_DEVICES += img_creator-ci40
$(eval $(call BuildImage))