summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2016-12-09 10:10:49 +0100
committerSimon Horman <horms@verge.net.au>2016-12-12 09:03:41 +0100
commitc901bae8683c59a7bc002bd6a1e3e4b6b7d9c5f1 (patch)
treea1250d77c8a008fec631830fce32b8d622b13ccc
parenta73747863c60094d8fa15b8f194c3b61947e6b29 (diff)
downloadkexec-tools-c901bae8683c59a7bc002bd6a1e3e4b6b7d9c5f1.tar.gz
arm: do not build iomem.o target with no soruce
Header files should be added to the distribution but not used to derive targets for compilation. In this an attempt was made to build iomem.o, but iomem.c does not exist so this fails. Fixes: 1574ff1aae4f ("arm: include phys_to_virt.h and iomem.h in distribution") Signed-off-by: Simon Horman <horms@verge.net.au> Reviewed-by: Pratyush Anand <panand@redhat.com>
-rw-r--r--kexec/arch/arm/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/kexec/arch/arm/Makefile b/kexec/arch/arm/Makefile
index 871979e0..4454f47a 100644
--- a/kexec/arch/arm/Makefile
+++ b/kexec/arch/arm/Makefile
@@ -27,9 +27,8 @@ arm_KEXEC_SRCS += $(libfdt_SRCS)
arm_UIMAGE = kexec/kexec-uImage.c
arm_PHYS_TO_VIRT = kexec/arch/arm/phys_to_virt.c
-arm_PHYS_TO_VIRT += kexec/arch/arm/iomem.h
-arm_PHYS_TO_VIRT += kexec/arch/arm/phys_to_virt.h
dist += kexec/arch/arm/Makefile $(arm_KEXEC_SRCS) $(arm_PHYS_TO_VIRT) \
- kexec/arch/arm/crashdump-arm.h kexec/arch/arm/kexec-arm.h \
+ kexec/arch/arm/iomem.h kexec/arch/arm/phys_to_virt.h \
+ kexec/arch/arm/crashdump-arm.h kexec/arch/arm/kexec-arm.h \
kexec/arch/arm/include/arch/options.h