diff options
author | 2019-07-12 13:52:19 +0200 | |
---|---|---|
committer | 2019-11-04 11:21:07 -0600 | |
commit | 067c650c456e758f933aaf87a202f841d34be269 (patch) | |
tree | 276b47912c6e78fe14df3b50a2267260b6b9f8be /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scripts/dtc: dtx_diff - add color output support (diff) | |
download | linux-dev-067c650c456e758f933aaf87a202f841d34be269.tar.xz linux-dev-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions