kumquat-buildroot/package/dtc
Yann E. MORIN 78b77a5c4a package/dtc: needs host-pkgconf unconditionally
Commits 495e757d2 (package/dtc: add optional libyaml dependency) and
e43d9072a (package/dtc: fix build without libyaml), added a conditional
dependency to host-pkgconf, when libyaml is enabled, while commit
56d6dd453 (package/dtc: disable valgrind) explicitly disabled support of
valgrind.

However, presence of libyaml, as well as that of valgrind, *is* detected
by calling pkg-config:

    NO_VALGRIND := $(shell $(PKG_CONFIG) --exists valgrind; echo $$?)
    NO_YAML := $(shell $(PKG_CONFIG) --exists yaml-0.1; echo $$?)

Passing NO_YAML=1 or NO_VALGRIND=1 do not prevent the tests from being
executed, which would yield messages like:

    /bin/sh: 1: /home/ymorin/dev/buildroot/O/host/bin/pkg-config: not found

(note however that, even if the test is executed, the value we pass on
the command line still takes precedence, and the support for either is
properly disabled.)

So, move the dependency on host-pkgconfig out of the condition. Ditto
for the host package.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Titouan Christophe <titouan.christophe@railnova.eu>
Cc: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-11-08 21:57:58 +01:00
..
0001-Fix-include-guards-for-older-kernel-u-boot-sources.patch Revert "package/dtc: bump to v1.5.1" 2019-11-05 22:15:49 +01:00
0002-Makefile-Add-EXTRA_CFLAGS-variable.patch Revert "package/dtc: bump to v1.5.1" 2019-11-05 22:15:49 +01:00
Config.in
Config.in.host
dtc.hash Revert "package/dtc: bump to v1.5.1" 2019-11-05 22:15:49 +01:00
dtc.mk package/dtc: needs host-pkgconf unconditionally 2019-11-08 21:57:58 +01:00