ramips: Derive DTS name from device name in Makefile
[oweals/openwrt.git] / target / linux / ramips / image / Makefile
index 07251aebbad781592d121c244f12c977cdfc2aba..181c82587397e770019c390438601cbfc4e72d59 100644 (file)
@@ -23,8 +23,9 @@ KERNEL_DTB = kernel-bin | append-dtb | lzma
 define Device/Default
   PROFILES = Default
   KERNEL := $(KERNEL_DTB) | uImage lzma
+  MTK_SOC :=
   DEVICE_DTS_DIR := ../dts
-  DEVICE_DTS = $$(DTS)
+  DEVICE_DTS = $$(MTK_SOC)_$(1)
   IMAGES := sysupgrade.bin
   IMAGE_SIZE := $(ralink_default_fw_size_8M)
   SUPPORTED_DEVICES := $(subst _,$(comma),$(1))