diff options
Diffstat (limited to 'arch/nds32')
| -rw-r--r-- | arch/nds32/Makefile | 8 | ||||
| -rw-r--r-- | arch/nds32/cpu/n1213/Makefile | 6 |
2 files changed, 11 insertions, 3 deletions
diff --git a/arch/nds32/Makefile b/arch/nds32/Makefile new file mode 100644 index 00000000000..e1eccba173a --- /dev/null +++ b/arch/nds32/Makefile @@ -0,0 +1,8 @@ +# +# SPDX-License-Identifier: GPL-2.0+ +# + +head-y := arch/nds32/cpu/$(CPU)/start.o + +libs-y += arch/nds32/cpu/$(CPU)/ +libs-y += arch/nds32/lib/ diff --git a/arch/nds32/cpu/n1213/Makefile b/arch/nds32/cpu/n1213/Makefile index 206d304d4c5..8ab1fcea26d 100644 --- a/arch/nds32/cpu/n1213/Makefile +++ b/arch/nds32/cpu/n1213/Makefile @@ -9,7 +9,7 @@ # SPDX-License-Identifier: GPL-2.0+ # -# necessary to create built-in.o -obj- := __dummy__.o - extra-y = start.o + +obj-$(if $(filter ag101,$(SOC)),y) += ag101/ +obj-$(if $(filter ag102,$(SOC)),y) += ag102/ |
