lantiq: define SOC only once for uniform targets
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 24 Jan 2020 17:38:53 +0000 (18:38 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 24 Jan 2020 17:38:53 +0000 (18:38 +0100)
commit09ee51c614d95904010f3646938b5b85c73bebec
tree5153742aab109ab81bb49fbb2386d903b019c6c4
parentd9a0794f8d56236b2984c15948d93aa5d320e16e
lantiq: define SOC only once for uniform targets

In lantiq there are several subtarget where all devices have the
same value set to the SOC variable for each device individually.

This patch introduces a non-device-dependent variable DEFAULT_SOC,
which is used if no specific SOC is set for a device, and thus reduces
the number of redundant definitions drastically.

This is applied to all subtargets except xway, as only the latter has
two different SOCs.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/lantiq/image/Makefile
target/linux/lantiq/image/amazonse.mk
target/linux/lantiq/image/falcon.mk
target/linux/lantiq/image/tp-link.mk
target/linux/lantiq/image/vr9.mk
target/linux/lantiq/image/xway_legacy.mk