diff options
author | 2018-11-15 17:46:55 +0100 | |
---|---|---|
committer | 2018-11-26 12:45:43 +0100 | |
commit | a57968c88082252d2c3915d9e9c2f9351b5b5ba5 (patch) | |
tree | a1f0c7d7fb6954f3836e2ce037ec218bd9b7c536 | |
parent | 1d54e2138125057d57b9d58079a64696858fefe4 (diff) | |
download | buildroot-a57968c88082252d2c3915d9e9c2f9351b5b5ba5.tar.gz buildroot-a57968c88082252d2c3915d9e9c2f9351b5b5ba5.tar.bz2 |
package/openocd: add missing host-pkgconf dependency
The configure.ac script uses PKG_CHECK_MODULES(), and we autoreconf
the package, so host-pkgconf should be listed in the dependencies.
This issue is seen either with per-package folders, or by doing a
clean build with just "make openocd":
>>> openocd 0.10.0 Configuring
>>> openocd 0.10.0 Autoreconfiguring
[...]
configure.ac:12: error: possibly undefined macro: AC_MSG_WARN
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:201: error: possibly undefined macro: AC_DEFINE
configure.ac:582: error: possibly undefined macro: AC_MSG_NOTICE
Even if the message seems unrelated, it's really the lack of pkg.m4
from host-pkgconf that causes the issue.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 915c136c5c9abeb683b59fad4a0e05a25c1a1cc2)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/openocd/openocd.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/openocd/openocd.mk b/package/openocd/openocd.mk index 548d8b81a0..ca13d99366 100644 --- a/package/openocd/openocd.mk +++ b/package/openocd/openocd.mk @@ -31,6 +31,7 @@ OPENOCD_CONF_OPTS = \ # the dependencies they need. OPENOCD_DEPENDENCIES = \ + host-pkgconf \ $(if $(BR2_PACKAGE_LIBFTDI1),libftdi1) \ $(if $(BR2_PACKAGE_LIBUSB),libusb) \ $(if $(BR2_PACKAGE_LIBUSB_COMPAT),libusb-compat) \ |