Skip to content

Commit

Permalink
csky: Move $(core-y) into arch/csky/Kbuild
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
masahir0y authored and guoren83 committed May 13, 2022
1 parent 29b24a7 commit 64d83f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions arch/csky/Kbuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only

obj-y += kernel/ mm/

# for cleaning
subdir- += boot
2 changes: 0 additions & 2 deletions arch/csky/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/ \
Expand Down

0 comments on commit 64d83f0

Please sign in to comment.