mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] autoconf.h searched on wrong place
@ 2014-04-16 13:56 Silvio Fricke
  2014-04-16 13:56 ` [PATCH] make: fix searchpath of generated autoconf.h Silvio Fricke
  0 siblings, 1 reply; 3+ messages in thread
From: Silvio Fricke @ 2014-04-16 13:56 UTC (permalink / raw)
  To: barebox; +Cc: Silvio Fricke

Hi,

please review this patch and/or include it to the barebox mainline.

Cheers,
Silvio

Silvio Fricke (1):
  make: generated autoconf.h is placed in $(objtree)

 scripts/Makefile.lib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.9.1


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

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

* [PATCH] make: fix searchpath of generated autoconf.h
  2014-04-16 13:56 [PATCH] autoconf.h searched on wrong place Silvio Fricke
@ 2014-04-16 13:56 ` Silvio Fricke
  2014-04-23 10:15   ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Silvio Fricke @ 2014-04-16 13:56 UTC (permalink / raw)
  To: barebox; +Cc: Silvio Fricke

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

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

* Re: [PATCH] make: fix searchpath of generated autoconf.h
  2014-04-16 13:56 ` [PATCH] make: fix searchpath of generated autoconf.h Silvio Fricke
@ 2014-04-23 10:15   ` Sascha Hauer
  0 siblings, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2014-04-23 10:15 UTC (permalink / raw)
  To: Silvio Fricke; +Cc: barebox

On Wed, Apr 16, 2014 at 03:56:12PM +0200, Silvio Fricke wrote:
> 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>

Tested-by: Sascha Hauer <s.hauer@pengutronix.de>

Applied, thanks

Sascha

> ---
>  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
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

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

end of thread, other threads:[~2014-04-23 10:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-16 13:56 [PATCH] autoconf.h searched on wrong place Silvio Fricke
2014-04-16 13:56 ` [PATCH] make: fix searchpath of generated autoconf.h Silvio Fricke
2014-04-23 10:15   ` Sascha Hauer

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