kernel-fxtec-pro1x/arch/arm64
Victor Kamensky b167fee4e4 arm64: makefile fix build of .i file in external module case
[ Upstream commit 98356eb0ae499c63e78073ccedd9a5fc5c563288 ]

After 'a66649dab350 arm64: fix vdso-offsets.h dependency' if
one will try to build .i file in case of external kernel module,
build fails complaining that prepare0 target is missing. This
issue came up with SystemTap when it tries to build variety
of .i files for its own generated kernel modules trying to
figure given kernel features/capabilities.

The issue is that prepare0 is defined in top level Makefile
only if KBUILD_EXTMOD is not defined. .i file rule depends
on prepare and in case KBUILD_EXTMOD defined top level Makefile
contains empty rule for prepare. But after mentioned commit
arch/arm64/Makefile would introduce dependency on prepare0
through its own prepare target.

Fix it to put proper ifdef KBUILD_EXTMOD around code introduced
by mentioned commit. It matches what top level Makefile does.

Acked-by: Kevin Brodsky <kevin.brodsky@arm.com>
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-01 09:17:14 +01:00
..
boot arm64: dts: lg: Fix SPI controller node names 2019-11-20 18:47:52 +01:00
configs
crypto crypto: arm64/sha2-ce - correct digest for empty data in finup 2019-07-26 09:14:19 +02:00
include arm64: lib: use C string functions with KASAN enabled 2019-12-01 09:17:01 +01:00
kernel arm64: lib: use C string functions with KASAN enabled 2019-12-01 09:17:01 +01:00
kvm KVM: arm64: Set SCTLR_EL2.DSSBS if SSBD is forcefully disabled and !vhe 2019-10-11 18:21:30 +02:00
lib arm64: lib: use C string functions with KASAN enabled 2019-12-01 09:17:01 +01:00
mm arm64/numa: Report correct memblock range for the dummy node 2019-11-24 08:19:31 +01:00
net bpf, arm64: use more scalable stadd over ldxr / stxr loop in xadd 2019-07-03 13:14:49 +02:00
xen
Kconfig arm64: enable generic CPU vulnerabilites support 2019-10-11 18:21:33 +02:00
Kconfig.debug
Kconfig.platforms
Makefile arm64: makefile fix build of .i file in external module case 2019-12-01 09:17:14 +01:00