--- zzzz-none-000/linux-3.10.107/arch/mips/lantiq/Makefile 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/arch/mips/lantiq/Makefile 2021-11-10 11:53:54.000000000 +0000 @@ -4,11 +4,17 @@ # under the terms of the GNU General Public License version 2 as published # by the Free Software Foundation. +ifeq ($(CONFIG_AR10)$(CONFIG_VR9),) obj-y := irq.o clk.o prom.o +else +obj-y := clk.o +endif -obj-y += dts/ obj-$(CONFIG_EARLY_PRINTK) += early_printk.o obj-$(CONFIG_SOC_TYPE_XWAY) += xway/ obj-$(CONFIG_SOC_FALCON) += falcon/ + +obj-$(CONFIG_AR10) += ar10/ common/ +obj-$(CONFIG_VR9) += vr9/ common/