uboot-mvebu: fix build on hosts lacking pkg-config
authorJo-Philipp Wich <jo@mein.io>
Wed, 23 May 2018 07:02:59 +0000 (09:02 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 23 May 2018 07:09:16 +0000 (09:09 +0200)
commit938908f400aaf279ddd4ff4a2e630a2d9d603080
tree6a136e5304ce46f52a7abf1fd146a0484e49b332
parenta88ff7bf5b77fbde16c3c8d701170f111a5e984f
uboot-mvebu: 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 01c2ce3c7d374c7e00562a7f3e54e87d23fef169)
package/boot/uboot-mvebu/Makefile