meta-agl-bsp: linux-raspberrypi: update local patch
[AGL/meta-agl.git] / meta-agl-bsp / meta-raspberrypi / recipes-kernel / linux / linux-raspberrypi / 0001-mconf-menuconfig.patch
index 3dc71ff..7f0979c 100644 (file)
@@ -40,9 +40,9 @@ index c812872d7f9d..42d20819025c 100755
 +       exit 0
 +fi
 +
- if [ -n "$(command -v pkg-config)" ]; then
-       if pkg-config --exists $PKG; then
-               echo cflags=\"$(pkg-config --cflags $PKG)\"
+ if [ -n "$(command -v ${HOSTPKG_CONFIG})" ]; then
+       if ${HOSTPKG_CONFIG} --exists $PKG; then
+               echo cflags=\"$(${HOSTPKG_CONFIG} --cflags $PKG)\"
 -- 
 2.17.1