diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-02-02 09:37:18 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-02-02 15:41:04 +0100 |
commit | f5c8d18ece6404683574343a969cac1a3262bd87 (patch) | |
tree | faa8c21ae8202af5f5832b0467c09723d24a2ca9 /scripts/Makefile | |
parent | dd29e91770d89de759c7093daa6d9467e3417c7f (diff) | |
download | barebox-f5c8d18ece6404683574343a969cac1a3262bd87.tar.gz barebox-f5c8d18ece6404683574343a969cac1a3262bd87.tar.xz |
scripts: Add scripts/include to host compiler includes
So that host tools can use the kernel includes.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/Makefile')
-rw-r--r-- | scripts/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile b/scripts/Makefile index a3f6222d08..aeedcac58b 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -20,6 +20,7 @@ hostprogs-$(CONFIG_ARCH_DAVINCI) += mkublheader hostprogs-$(CONFIG_ARCH_ZYNQ) += zynq_mkimage hostprogs-$(CONFIG_ARCH_SOCFPGA) += socfpga_mkimage hostprogs-$(CONFIG_ARCH_MXS) += mxsimage mxsboot +HOSTCFLAGS += -I$(srctree)/scripts/include/ HOSTLOADLIBES_mxsimage = `pkg-config --libs openssl` HOSTCFLAGS_mxs-usb-loader.o = `pkg-config --cflags libusb-1.0` HOSTLOADLIBES_mxs-usb-loader = `pkg-config --libs libusb-1.0` |