diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-12-21 01:16:49 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-12-27 18:00:32 +0100 |
commit | e0382e88a919d342dd6fbf07971ceab15d0b6aaf (patch) | |
tree | 03272c605f18484f2af85071bf684d820477844c /include | |
parent | 9c7025b7794ae06774632499547f78d827d13499 (diff) | |
download | upstream-e0382e88a919d342dd6fbf07971ceab15d0b6aaf.tar.gz upstream-e0382e88a919d342dd6fbf07971ceab15d0b6aaf.tar.bz2 upstream-e0382e88a919d342dd6fbf07971ceab15d0b6aaf.zip |
ipq806x: build DEVICE_DTS based on SOC and device name
This patch uses the SOC variable to calculate DTS names automatically
based on the SOC and the device definition node name.
This reduces redundancy and (by having to choose DTS name
appropriately) will unify the naming of a device in different places
(image/Makefile, DTS name, compatible, image name). This is supposed
to make life easier for developers and reviewers.
Since the kernel uses a "soc-device.dts" scheme for this target, we
use this for the derivation of DEVICE_DTS, too, leaving the DTS names
unchanged for this target.
Note that for some devices the kernel itself uses inconsistent names
(DTS naming scheme vs. compatible), leaving us with a manual overwrite
of DEVICE_DTS for those cases.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions