lantiq: make dts files and kernel config kernel version specific

Move the devicetree source files to a kernel specific directory in
preparation of adding kernel 4.14 support.

Rename the subtarget kernel config files to match a specific kernel
version.

Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
Mathias Kresin 2017-12-31 12:11:57 +01:00
parent 627a28eb09
commit f8a6987cd1
80 changed files with 1 additions and 2 deletions

View File

@ -55,12 +55,11 @@ endef
# Shared device definition: applies to every defined device # Shared device definition: applies to every defined device
define Device/Default define Device/Default
PROFILES = Default PROFILES = Default
KERNEL_DEPENDS = $$(wildcard ../dts/$$(DEVICE_DTS).dts) KERNEL_DEPENDS = $$(wildcard $(DTS_DIR)/$$(DEVICE_DTS).dts)
KERNEL_INITRAMFS_NAME = $$(KERNEL_NAME)-initramfs KERNEL_INITRAMFS_NAME = $$(KERNEL_NAME)-initramfs
KERNEL := kernel-bin | append-dtb | lzma | uImage lzma KERNEL := kernel-bin | append-dtb | lzma | uImage lzma
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
FILESYSTEMS := squashfs FILESYSTEMS := squashfs
DEVICE_DTS_DIR := ../dts
IMAGE_SIZE := IMAGE_SIZE :=
SUPPORTED_DEVICES := $(subst _,$(comma),$(1)) SUPPORTED_DEVICES := $(subst _,$(comma),$(1))
IMAGES := sysupgrade.bin IMAGES := sysupgrade.bin