diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-05-12 06:59:02 +0300 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2022-05-13 10:09:28 +0300 |
commit | 64d83f06774668081258bd7f3241267239bb9ab2 (patch) | |
tree | 74bb2640a8497bade87e7d2fb52188cb0eb2bf2a /arch/csky | |
parent | 29b24a76bdea0786a727e08266607c6e3bbfa160 (diff) | |
download | linux-64d83f06774668081258bd7f3241267239bb9ab2.tar.xz |
csky: Move $(core-y) into arch/csky/Kbuild
Use the standard obj-y form to specify the sub-directories under
arch/csky/. Only leave core-y += arch/csky/$(CSKYABI)/ there.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Guo Ren <guoren@kernel.org>
Diffstat (limited to 'arch/csky')
-rw-r--r-- | arch/csky/Kbuild | 2 | ||||
-rw-r--r-- | arch/csky/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/csky/Kbuild b/arch/csky/Kbuild index 4e39f7abdeb6..0621eaea4196 100644 --- a/arch/csky/Kbuild +++ b/arch/csky/Kbuild @@ -1,4 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only +obj-y += kernel/ mm/ + # for cleaning subdir- += boot diff --git a/arch/csky/Makefile b/arch/csky/Makefile index 4d72aca4069b..4e1d619fd5c6 100644 --- a/arch/csky/Makefile +++ b/arch/csky/Makefile @@ -61,8 +61,6 @@ KBUILD_AFLAGS += $(KBUILD_CFLAGS) head-y := arch/csky/kernel/head.o -core-y += arch/csky/kernel/ -core-y += arch/csky/mm/ core-y += arch/csky/$(CSKYABI)/ libs-y += arch/csky/lib/ \ |