From 09ee51c614d95904010f3646938b5b85c73bebec Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Fri, 24 Jan 2020 18:38:53 +0100 Subject: 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 --- target/linux/lantiq/image/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target/linux/lantiq/image/Makefile') diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile index 68de191283..d385cdca7b 100644 --- a/target/linux/lantiq/image/Makefile +++ b/target/linux/lantiq/image/Makefile @@ -111,10 +111,12 @@ define Device/AVM endef ifeq ($(SUBTARGET),ase) +DEFAULT_SOC := amazonse include amazonse.mk endif ifeq ($(SUBTARGET),xway_legacy) +DEFAULT_SOC := danube include xway_legacy.mk endif @@ -125,12 +127,14 @@ endif ifeq ($(SUBTARGET),xrx200) +DEFAULT_SOC := vr9 include tp-link.mk include vr9.mk endif ifeq ($(SUBTARGET),falcon) +DEFAULT_SOC := falcon include falcon.mk endif -- cgit v1.2.3