From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] host-u-boot-tools: Add patch to use project includes prior to system ones
Date: Sat, 29 Mar 2014 10:15:20 +0100 [thread overview]
Message-ID: <20140329091520.GB10959@pengutronix.de> (raw)
In-Reply-To: <1395904307-20841-1-git-send-email-alexander.stein@systec-electronic.com>
On Thu, Mar 27, 2014 at 08:11:47AM +0100, Alexander Stein wrote:
> In case lensfun is installed on the system gcc will pick the wrong header
> when host-u-boot-tools are build.
Thanks, applied. I hope this won't cause any other problems, because it
looks like u-boot is using the search order to pick the right header
files...
Michael
>
> Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
> ---
> ...r-u-boot-includes-to-system-include-direc.patch | 27 ++++++++++++++++++++++
> patches/u-boot-2011.12/series | 4 ++++
> 2 files changed, 31 insertions(+)
> create mode 100644 patches/u-boot-2011.12/0001-tools-Prefer-u-boot-includes-to-system-include-direc.patch
> create mode 100644 patches/u-boot-2011.12/series
>
> diff --git a/patches/u-boot-2011.12/0001-tools-Prefer-u-boot-includes-to-system-include-direc.patch b/patches/u-boot-2011.12/0001-tools-Prefer-u-boot-includes-to-system-include-direc.patch
> new file mode 100644
> index 0000000..39f2ba9
> --- /dev/null
> +++ b/patches/u-boot-2011.12/0001-tools-Prefer-u-boot-includes-to-system-include-direc.patch
> @@ -0,0 +1,27 @@
> +From: Alexander Stein <alexander.stein@systec-electronic.com>
> +Date: Wed, 26 Mar 2014 22:46:22 +0100
> +Subject: [PATCH] tools: Prefer u-boot includes to system include directory
> +
> +This fixes the following build error when lensfun is installed:
> +In file included from /usr/include/image.h:22:0,
> + from aisimage.c:29:
> +/usr/include/rgbpixel.h:22:20: fatal error: config.h: No such file or directory
> +
> +Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
> +---
> + tools/Makefile | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/tools/Makefile b/tools/Makefile
> +index a5f989a..bc6ffe3 100644
> +--- a/tools/Makefile
> ++++ b/tools/Makefile
> +@@ -157,7 +157,7 @@ NOPEDOBJS := $(addprefix $(obj),$(NOPED_OBJ_FILES-y))
> + # Use native tools and options
> + # Define __KERNEL_STRICT_NAMES to prevent typedef overlaps
> + #
> +-HOSTCPPFLAGS = -idirafter $(SRCTREE)/include \
> ++HOSTCPPFLAGS = -I $(SRCTREE)/include \
> + -idirafter $(OBJTREE)/include2 \
> + -idirafter $(OBJTREE)/include \
> + -I $(SRCTREE)/lib/libfdt \
> diff --git a/patches/u-boot-2011.12/series b/patches/u-boot-2011.12/series
> new file mode 100644
> index 0000000..eea4611
> --- /dev/null
> +++ b/patches/u-boot-2011.12/series
> @@ -0,0 +1,4 @@
> +# generated by git-ptx-patches
> +#tag:base --start-number 1
> +0001-tools-Prefer-u-boot-includes-to-system-include-direc.patch
> +# 944f1726d2ab9856a3d9b36c7af8e95b - git-ptx-patches magic
> --
> 1.8.3.2
>
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>
--
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 |
--
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2014-03-29 9:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-27 7:11 Alexander Stein
2014-03-29 9:15 ` Michael Olbrich [this message]
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=20140329091520.GB10959@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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