package/dtc: add optional libyaml dependency
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 29 Jul 2019 12:16:37 +0000 (14:16 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 1 Aug 2019 08:51:38 +0000 (10:51 +0200)
commit495e757d2076c55086fc8d810437e00783527e36
tree6758ac98821f56ebd6b8069e87f10eb4b1d8cd1f
parentef79770dcd4337e52725c43922b2fb2dbeda43b8
package/dtc: add optional libyaml dependency

Since bump to version 1.5.0 with commit
b2f4dc7bc15bcf2cc0282e6a226d97f050975c35, dtc binary optionally depends
on libyaml which is enabled if it is found by pkgconfig so:
 - add host-pkgconf and libyaml dependencies only if
   BR2_PACKAGE_DTC_PROGRAMS and BR2_PACKAGE_LIBYAML are set
 - disable yaml for host build (and so remove host-pkgconf from
   HOST_DTC_DEPENDENCIES)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/dtc/dtc.mk