From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from kirsty.vergenet.net ([202.4.237.240]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UppVY-00051Z-JL for kexec@lists.infradead.org; Fri, 21 Jun 2013 00:47:21 +0000 Date: Fri, 21 Jun 2013 09:48:02 +0900 From: Simon Horman Subject: Re: [PATCH] arm: Fix out of tree build error Message-ID: <20130621004802.GC18705@verge.net.au> References: <1371764587.12068.5.camel@smoke> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1371764587.12068.5.camel@smoke> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=twosheds.infradead.org@lists.infradead.org To: Geoff Levand Cc: kexec@lists.infradead.org On Thu, Jun 20, 2013 at 02:43:07PM -0700, Geoff Levand wrote: > 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 Thanks, applied. > --- > 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