public inbox for kexec@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] arm: Fix out of tree build error
@ 2013-06-20 21:43 Geoff Levand
  2013-06-21  0:48 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: Geoff Levand @ 2013-06-20 21:43 UTC (permalink / raw)
  To: horms; +Cc: kexec

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>
---
 kexec/arch/arm/Makefile | 4 ++--
 1 file 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
-- 
1.8.1.2




_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-21  0:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-20 21:43 [PATCH] arm: Fix out of tree build error Geoff Levand
2013-06-21  0:48 ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox