samsung: use soc_vendor_model scheme for DTS file name

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>
master
Adrian Schmutzler 5 years ago
parent e37e2f0cf1
commit 6e70e4a071

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

Loading…
Cancel
Save