Skip to content
Snippets Groups Projects
Commit 402138d1 authored by Adrian Schmutzler's avatar Adrian Schmutzler Committed by Daniel Golle
Browse files

ramips: Derive DTS name from device name in Makefile


This will automatically derive the DTS name as in ath79 and thus
makes specifying DTS for every device obsolete.

Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>

---

This patch only introduces the mechanism and is then followed by
commits with renames and Makefile adjustments per subtarget.

Eventually, those can be all squashed into a single commit or left
as they are to enhance overview.
parent 7dd3a234
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment