aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Masahiro Yamada <masahiroy@kernel.org> 2020-05-26 14:20:31 +0100
committerGravatar Russell King <rmk+kernel@armlinux.org.uk> 2020-07-21 16:33:35 +0100
commit846484ea73f17c86533496455bcf49f373dde3fd (patch)
tree70f948853106839dc3723f565545026fff9bf8e1
parentLinux 5.8-rc4 (diff)
downloadlinux-846484ea73f17c86533496455bcf49f373dde3fd.tar.gz
linux-846484ea73f17c86533496455bcf49f373dde3fd.tar.bz2
linux-846484ea73f17c86533496455bcf49f373dde3fd.zip
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 <masahiroy@kernel.org> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
-rw-r--r--arch/arm/Kbuild11
-rw-r--r--arch/arm/Makefile12
2 files changed, 12 insertions, 11 deletions
diff --git a/arch/arm/Kbuild b/arch/arm/Kbuild
new file mode 100644
index 000000000000..5208f7061524
--- /dev/null
+++ b/arch/arm/Kbuild
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0-only
+obj-$(CONFIG_FPE_NWFPE) += nwfpe/
+# Put arch/arm/fastfpe/ to use this.
+obj-$(CONFIG_FPE_FASTFPE) += $(patsubst $(srctree)/$(src)/%,%,$(wildcard $(srctree)/$(src)/fastfpe/))
+obj-$(CONFIG_VFP) += vfp/
+obj-$(CONFIG_XEN) += xen/
+obj-$(CONFIG_VDSO) += vdso/
+obj-y += kernel/ mm/ common/
+obj-y += probes/
+obj-y += net/
+obj-y += crypto/
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 59fde2d598d8..2731c20dee58 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -275,18 +275,8 @@ endif
export TEXT_OFFSET GZFLAGS MMUEXT
-core-$(CONFIG_FPE_NWFPE) += arch/arm/nwfpe/
-# Put arch/arm/fastfpe/ to use this.
-core-$(CONFIG_FPE_FASTFPE) += $(patsubst $(srctree)/%,%,$(wildcard $(srctree)/arch/arm/fastfpe/))
-core-$(CONFIG_VFP) += arch/arm/vfp/
-core-$(CONFIG_XEN) += arch/arm/xen/
-core-$(CONFIG_VDSO) += arch/arm/vdso/
-
+core-y += arch/arm/
# If we have a machine-specific directory, then include it in the build.
-core-y += arch/arm/kernel/ arch/arm/mm/ arch/arm/common/
-core-y += arch/arm/probes/
-core-y += arch/arm/net/
-core-y += arch/arm/crypto/
core-y += $(machdirs) $(platdirs)
# For cleaning