Skip to content

Commit 846484e

Browse files
masahir0yRussell King
authored andcommitted
ARM: 8981/1: add arch/arm/Kbuild
Use the standard obj-y form to specify the sub-directories under arch/arm/. No functional change intended. Signed-off-by: Masahiro Yamada <[email protected]> Signed-off-by: Russell King <[email protected]>
1 parent dcb7fd8 commit 846484e

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

arch/arm/Kbuild

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
obj-$(CONFIG_FPE_NWFPE) += nwfpe/
3+
# Put arch/arm/fastfpe/ to use this.
4+
obj-$(CONFIG_FPE_FASTFPE) += $(patsubst $(srctree)/$(src)/%,%,$(wildcard $(srctree)/$(src)/fastfpe/))
5+
obj-$(CONFIG_VFP) += vfp/
6+
obj-$(CONFIG_XEN) += xen/
7+
obj-$(CONFIG_VDSO) += vdso/
8+
obj-y += kernel/ mm/ common/
9+
obj-y += probes/
10+
obj-y += net/
11+
obj-y += crypto/

arch/arm/Makefile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -275,18 +275,8 @@ endif
275275

276276
export TEXT_OFFSET GZFLAGS MMUEXT
277277

278-
core-$(CONFIG_FPE_NWFPE) += arch/arm/nwfpe/
279-
# Put arch/arm/fastfpe/ to use this.
280-
core-$(CONFIG_FPE_FASTFPE) += $(patsubst $(srctree)/%,%,$(wildcard $(srctree)/arch/arm/fastfpe/))
281-
core-$(CONFIG_VFP) += arch/arm/vfp/
282-
core-$(CONFIG_XEN) += arch/arm/xen/
283-
core-$(CONFIG_VDSO) += arch/arm/vdso/
284-
278+
core-y += arch/arm/
285279
# If we have a machine-specific directory, then include it in the build.
286-
core-y += arch/arm/kernel/ arch/arm/mm/ arch/arm/common/
287-
core-y += arch/arm/probes/
288-
core-y += arch/arm/net/
289-
core-y += arch/arm/crypto/
290280
core-y += $(machdirs) $(platdirs)
291281

292282
# For cleaning

0 commit comments

Comments
 (0)