summaryrefslogtreecommitdiff
path: root/kexec
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2013-06-20 14:43:07 -0700
committerSimon Horman <horms@verge.net.au>2013-06-21 09:47:00 +0900
commit91e34163d316770930a1323d688e6b6fbca92fcd (patch)
tree24e1b2accb8ff793ca0c1f4176163ae2700f7ba1 /kexec
parent7cda46d53d4e6f7947d3a9bb9372911d81a7da3e (diff)
arm: Fix out of tree build error
Prefix local include paths with $(srcdir)/. Fixes build errors like these when building for ARM out of the source tree: cc1: fatal error: kexec/arch/arm/crashdump-arm.h: No such file or directory Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec')
-rw-r--r--kexec/arch/arm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexec/arch/arm/Makefile b/kexec/arch/arm/Makefile
index 682db78..38137d7 100644
--- a/kexec/arch/arm/Makefile
+++ b/kexec/arch/arm/Makefile
@@ -4,8 +4,8 @@
include $(srcdir)/kexec/libfdt/Makefile.libfdt
arm_FS2DT = kexec/fs2dt.c
-arm_FS2DT_INCLUDE = -include kexec/arch/arm/crashdump-arm.h \
- -include kexec/arch/arm/kexec-arm.h
+arm_FS2DT_INCLUDE = -include $(srcdir)/kexec/arch/arm/crashdump-arm.h \
+ -include $(srcdir)/kexec/arch/arm/kexec-arm.h
arm_KEXEC_SRCS= kexec/arch/arm/kexec-elf-rel-arm.c
arm_KEXEC_SRCS+= kexec/arch/arm/kexec-zImage-arm.c