Skip to content

Commit 028a342

Browse files
masahir0ygeertu
authored andcommitted
m68k: Add arch/m68k/Kbuild
Use the standard obj-y form to specify the sub-directories under arch/m68k/. No functional change intended. Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Greg Ungerer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 9ebcfad commit 028a342

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

arch/m68k/Kbuild

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
obj-y += kernel/ mm/
3+
obj-$(CONFIG_Q40) += q40/
4+
obj-$(CONFIG_AMIGA) += amiga/
5+
obj-$(CONFIG_ATARI) += atari/
6+
obj-$(CONFIG_MAC) += mac/
7+
obj-$(CONFIG_HP300) += hp300/
8+
obj-$(CONFIG_APOLLO) += apollo/
9+
obj-$(CONFIG_MVME147) += mvme147/
10+
obj-$(CONFIG_MVME16x) += mvme16x/
11+
obj-$(CONFIG_BVME6000) += bvme6000/
12+
obj-$(CONFIG_SUN3X) += sun3x/ sun3/
13+
obj-$(CONFIG_SUN3) += sun3/ sun3/prom/
14+
obj-$(CONFIG_NATFEAT) += emu/
15+
obj-$(CONFIG_M68040) += fpsp040/
16+
obj-$(CONFIG_M68060) += ifpsp060/
17+
obj-$(CONFIG_M68KFPU_EMU) += math-emu/
18+
obj-$(CONFIG_M68000) += 68000/
19+
obj-$(CONFIG_COLDFIRE) += coldfire/

arch/m68k/Makefile

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -97,27 +97,9 @@ head-$(CONFIG_SUN3) := arch/m68k/kernel/sun3-head.o
9797
head-$(CONFIG_M68000) := arch/m68k/68000/head.o
9898
head-$(CONFIG_COLDFIRE) := arch/m68k/coldfire/head.o
9999

100-
core-y += arch/m68k/kernel/ arch/m68k/mm/
100+
core-y += arch/m68k/
101101
libs-y += arch/m68k/lib/
102102

103-
core-$(CONFIG_Q40) += arch/m68k/q40/
104-
core-$(CONFIG_AMIGA) += arch/m68k/amiga/
105-
core-$(CONFIG_ATARI) += arch/m68k/atari/
106-
core-$(CONFIG_MAC) += arch/m68k/mac/
107-
core-$(CONFIG_HP300) += arch/m68k/hp300/
108-
core-$(CONFIG_APOLLO) += arch/m68k/apollo/
109-
core-$(CONFIG_MVME147) += arch/m68k/mvme147/
110-
core-$(CONFIG_MVME16x) += arch/m68k/mvme16x/
111-
core-$(CONFIG_BVME6000) += arch/m68k/bvme6000/
112-
core-$(CONFIG_SUN3X) += arch/m68k/sun3x/ arch/m68k/sun3/
113-
core-$(CONFIG_SUN3) += arch/m68k/sun3/ arch/m68k/sun3/prom/
114-
core-$(CONFIG_NATFEAT) += arch/m68k/emu/
115-
core-$(CONFIG_M68040) += arch/m68k/fpsp040/
116-
core-$(CONFIG_M68060) += arch/m68k/ifpsp060/
117-
core-$(CONFIG_M68KFPU_EMU) += arch/m68k/math-emu/
118-
core-$(CONFIG_M68000) += arch/m68k/68000/
119-
core-$(CONFIG_COLDFIRE) += arch/m68k/coldfire/
120-
121103

122104
all: zImage
123105

0 commit comments

Comments
 (0)