autoconf.h searched on wrong place
PATCH 1/1 autoconf.h searched on wrong place
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(-)
Signature · 7 lines
1.9.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 1/1 make: fix searchpath of generated autoconf.h
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
--- scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/Makefile.lib +1 -1
@@ -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)
Signature · 7 lines
1.9.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH] make: fix searchpath of generated autoconf.h
Quoted 8 lines · Silvio Fricke
If barebox is builded out-of-tree we don't find the autogenerated
autoconf.hbecause 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 <[email protected]>
Applied, thanks
Sascha
Quoted 26 lines
--- scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)scripts/Makefile.lib +1
-1@@ -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)Signature · 7 lines
1.9.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
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 [email protected] http://lists.infradead.org/mailman/listinfo/barebox