Skip to content

Commit 64d83f0

Browse files
masahir0yguoren83
authored andcommitted
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 <[email protected]> Signed-off-by: Guo Ren <[email protected]>
1 parent 29b24a7 commit 64d83f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/csky/Kbuild

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22

3+
obj-y += kernel/ mm/
4+
35
# for cleaning
46
subdir- += boot

arch/csky/Makefile

-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ KBUILD_AFLAGS += $(KBUILD_CFLAGS)
6161

6262
head-y := arch/csky/kernel/head.o
6363

64-
core-y += arch/csky/kernel/
65-
core-y += arch/csky/mm/
6664
core-y += arch/csky/$(CSKYABI)/
6765

6866
libs-y += arch/csky/lib/ \

0 commit comments

Comments
 (0)