diff options
author | Simon Horman <horms@verge.net.au> | 2016-12-09 10:10:49 +0100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2016-12-12 09:03:41 +0100 |
commit | c901bae8683c59a7bc002bd6a1e3e4b6b7d9c5f1 (patch) | |
tree | a1250d77c8a008fec631830fce32b8d622b13ccc | |
parent | a73747863c60094d8fa15b8f194c3b61947e6b29 (diff) |
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/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kexec/arch/arm/Makefile b/kexec/arch/arm/Makefile index 871979e..4454f47 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 |