diff options
Diffstat (limited to 'arch/nds32/cpu')
-rw-r--r-- | arch/nds32/cpu/n1213/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/nds32/cpu/n1213/Makefile b/arch/nds32/cpu/n1213/Makefile index be98c4a7382..8ab1fcea26d 100644 --- a/arch/nds32/cpu/n1213/Makefile +++ b/arch/nds32/cpu/n1213/Makefile @@ -9,9 +9,7 @@ # SPDX-License-Identifier: GPL-2.0+ # -# necessary to create built-in.o -obj- := __dummy__.o - extra-y = start.o -obj-y += $(if $(SOC),$(SOC)/) +obj-$(if $(filter ag101,$(SOC)),y) += ag101/ +obj-$(if $(filter ag102,$(SOC)),y) += ag102/ |