uboot-zynq: fix build on hosts lacking pkg-config
authorJo-Philipp Wich <jo@mein.io>
Wed, 23 May 2018 07:32:25 +0000 (09:32 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 23 May 2018 07:40:45 +0000 (09:40 +0200)
commit60522320f6fc3b81748045a0670b43b87bd8d244
treeb24cceb12a6e46b71eda54043b5bd1eb85f2215f
parent68586cf233756de9786cca8df0dc78b6ed98375e
uboot-zynq: 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 1289e00fffaebad7ab1a9cec33c7b0472edb4527)
package/boot/uboot-zynq/Makefile