uboot-mxs: fix build on hosts lacking pkg-config
authorJo-Philipp Wich <jo@mein.io>
Wed, 23 May 2018 07:15:52 +0000 (09:15 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 23 May 2018 07:29:28 +0000 (09:29 +0200)
commit68586cf233756de9786cca8df0dc78b6ed98375e
treea321527c3138b59a06f2e8db7e5c02e1a095fffd
parent938908f400aaf279ddd4ff4a2e630a2d9d603080
uboot-mxs: fix build on hosts lacking pkg-config

The uboot-mvebu package incorrectly used the host pkg-config for the tool
build parts, which broke the build on systems lacking pkg-config and only
worked by accident on those that have it installed.

Export the host-build specific environment variables for the uboot build
to redirect pkg-config invocations to our staged host build pkg-config in
buildroot.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 208b984dda0c2348d425b992b9a1c171d5aaa8e8)
package/boot/uboot-mxs/Makefile