]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
samsung: use soc_vendor_model scheme for DTS file name
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 28 Dec 2019 15:04:48 +0000 (16:04 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 2 Jan 2020 23:04:05 +0000 (00:04 +0100)
This patch changes the samsung target to calculate the DTS file name
from vendor and device name and the SOC (i.e. subtarget) following
the common scheme:

soc_vendor_model.dts

This also updates the device definition name to make compatible,
image name, menuconfig name and DTS name consistent.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/samsung/dts/s5pv210_embedsky_tq210.dts [moved from target/linux/samsung/dts/TQ210.dts with 100% similarity]
target/linux/samsung/image/Makefile

index 697d317c9f96fd9e7fac8a2d298c0d14654d7ee3..53509ef137f66eff9e7abe0a1f191232a6844c55 100644 (file)
@@ -13,14 +13,15 @@ define Device/Default
   PROFILES = Default
   KERNEL_NAME := zImage
   KERNEL := kernel-bin | append-dtb | uImage none
+  DEVICE_DTS_DIR := ../dts
+  DEVICE_DTS = $$(SOC)_$(1)
 endef
 
-define Device/tq210
-  DEVICE_VENDOR := Samsung
+define Device/embedsky_tq210
+  DEVICE_VENDOR := EmbedSky
   DEVICE_MODEL := TQ210
-  DEVICE_DTS_DIR := ../dts
-  DEVICE_DTS := TQ210
+  SOC := s5pv210
 endef
-TARGET_DEVICES += tq210
+TARGET_DEVICES += embedsky_tq210
 
 $(eval $(call BuildImage))