From e4ba8c82947efd39b014496de32ee73e1bec9c71 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Sun, 29 Dec 2019 01:55:54 +0100 Subject: brcm63xx: use more systematic names for image and DTS files This changes brcm63xx target to achieve consistency between image names, device nodes names, compatible, DTS name and device name as much as possible. As with other targets, having consistent names is supposed to make life easier for developers and reduces the number of "variables" in the system. In particular, applying the DTS scheme will make it easier to find the correct file and architecture. DTS files are named based on the increasingly common soc-vendor-model scheme, using hyphens for separation as this seems to be the kernel way. Since the compatible is not used at the moment, I took the chance to also align them with this patch. For the SOC, the already existing CFE_CHIP_ID can be exploiting for all but two devices. Signed-off-by: Adrian Schmutzler --- target/linux/brcm63xx/image/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target/linux/brcm63xx/image/Makefile') diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index 1cf64bd8e7..cc1660aa25 100644 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -161,6 +161,8 @@ define Device/Default KERNEL_DEPENDS = $$(wildcard ../dts/$$(DEVICE_DTS).dts) KERNEL_INITRAMFS_SUFFIX := .elf DEVICE_DTS_DIR := ../dts + SOC = bcm$$(CFE_CHIP_ID) + DEVICE_DTS = $$(SOC)-$(subst _,-,$(1)) endef ATH5K_PACKAGES := kmod-ath5k wpad-basic -- cgit v1.2.3