apm821xx: derive DEVICE_DTS from device name
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 18 Jul 2020 11:14:28 +0000 (13:14 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 21 Jul 2020 09:56:35 +0000 (11:56 +0200)
commiteff0a0e39e48e4d1d40fc2262f1394d6d391a8c0
treeb89261013e56a416c82bd79bf9e97e44b436cec2
parenta2fee73e270305c4cb086055cc30e97f65e6f58b
apm821xx: derive DEVICE_DTS from device name

The DEVICE_DTS variable always matches the device definition name,
just with "_" replaced by "-". Thus, create a DEVICE_DTS definition
in Device/Default and drop all the individual statements.

If necessary in the future, local DEVICE_DTS will still overwrite
that default.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/apm821xx/image/Makefile
target/linux/apm821xx/image/nand.mk
target/linux/apm821xx/image/sata.mk