diff options
author | Pavel Modilaynen <pavel.modilaynen@axis.com> | 2019-07-12 13:52:19 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-11-04 18:21:07 +0100 |
commit | 067c650c456e758f933aaf87a202f841d34be269 (patch) | |
tree | 276b47912c6e78fe14df3b50a2267260b6b9f8be /Documentation/devicetree/bindings/mfd | |
parent | scripts/dtc: dtx_diff - add color output support (diff) | |
download | linux-067c650c456e758f933aaf87a202f841d34be269.tar.xz linux-067c650c456e758f933aaf87a202f841d34be269.zip |
dtc: Use pkg-config to locate libyaml
Using Makefile's wildcard with absolute path to detect
the presence of libyaml results in false-positive
detection when cross-compiling e.g. in yocto environment.
The latter results in build error:
| scripts/dtc/yamltree.o: In function `yaml_propval_int':
| yamltree.c: undefined reference to `yaml_sequence_start_event_initialize'
| yamltree.c: undefined reference to `yaml_emitter_emit'
| yamltree.c: undefined reference to `yaml_scalar_event_initialize'
...
Use pkg-config to locate libyaml to address this scenario.
Signed-off-by: Pavel Modilaynen <pavel.modilaynen@axis.com>
[robh: silence stderr]
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd')
0 files changed, 0 insertions, 0 deletions