ramips: define SOC only once for uniform targets
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 21 Jan 2020 20:54:50 +0000 (21:54 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 24 Jan 2020 16:16:11 +0000 (17:16 +0100)
commitdc862be3019299cc280053d73474c7f838ce15a0
tree37b51c2e62053fcea7907a541d660e093d6f927c
parentdaa218a28858ec4786fd22cb4f282754e4aab003
ramips: define SOC only once for uniform targets

In ramips, all devices in mt7621, mt76x8 and rt288x subtarget 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.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ramips/image/Makefile
target/linux/ramips/image/mt7621.mk
target/linux/ramips/image/mt76x8.mk
target/linux/ramips/image/rt288x.mk