]> git.baikalelectronics.ru Git - kernel.git/commitdiff
csky: Move $(core-y) into arch/csky/Kbuild
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 12 May 2022 03:59:02 +0000 (12:59 +0900)
committerGuo Ren <guoren@linux.alibaba.com>
Fri, 13 May 2022 07:09:28 +0000 (15:09 +0800)
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>
arch/csky/Kbuild
arch/csky/Makefile

index 4e39f7abdeb6dc90d4018a927f11f139515a4ce8..0621eaea41962b03801c3a4f26e6b02ccd59d9e1 100644 (file)
@@ -1,4 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-only
 
+obj-y += kernel/ mm/
+
 # for cleaning
 subdir- += boot
index 4d72aca4069b9620867495e05f3d96bced98c45c..4e1d619fd5c63d4e7f0342e3a9550d1bfb14da73 100644 (file)
@@ -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/ \