mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Silvio Fricke <silvio.fricke@gmail.com>
To: barebox@lists.infradead.org
Cc: Silvio Fricke <silvio.fricke@gmail.com>
Subject: [PATCH] make: fix searchpath of generated autoconf.h
Date: Wed, 16 Apr 2014 15:56:12 +0200	[thread overview]
Message-ID: <0180a16d5e953baca89cf12113f9122f8c8e6696.1397656442.git.silvio.fricke@gmail.com> (raw)
In-Reply-To: <cover.1397656108.git.silvio.fricke@gmail.com>
In-Reply-To: <cover.1397656108.git.silvio.fricke@gmail.com>

If barebox is builded out-of-tree we don't find the autogenerated
autoconf.h because we search in the srctree.

With this patch we don't get this error message:

cc1: fatal error: /[...]/barebox/include/generated/autoconf.h: No such file or directory

Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
---
 scripts/Makefile.lib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index d403037..cf7e2d5 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -376,7 +376,7 @@ cmd_imximage_S_dcd=						\
 
 imxcfg_cpp_flags  = -Wp,-MD,$(depfile) -nostdinc -x assembler-with-cpp \
       -I $(srctree)/include -I $(MACH)/include \
-      -include $(srctree)/include/generated/autoconf.h
+      -include include/generated/autoconf.h
 
 dcd-tmp = $(subst $(comma),_,$(dot-target).dcd.tmp)
 
-- 
1.9.1


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

  reply	other threads:[~2014-04-16 14:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-16 13:56 [PATCH] autoconf.h searched on wrong place Silvio Fricke
2014-04-16 13:56 ` Silvio Fricke [this message]
2014-04-23 10:15   ` [PATCH] make: fix searchpath of generated autoconf.h Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0180a16d5e953baca89cf12113f9122f8c8e6696.1397656442.git.silvio.fricke@gmail.com \
    --to=silvio.fricke@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox