2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/scripts/dtc
Pavel Modilaynen 067c650c45 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>
2019-11-04 11:21:07 -06:00
..
include-prefixes dts: remove cris & metag dts hard link file 2018-04-06 15:26:31 +02:00
libfdt scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00
.gitignore .gitignore: move *.lex.c *.tab.[ch] patterns to the top-level .gitignore 2018-04-07 19:04:02 +09:00
checks.c scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00
data.c scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00
dt_to_config treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 473 2019-06-19 17:09:11 +02:00
dtc-lexer.l scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00
dtc-parser.y scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00
dtc.c scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00
dtc.h scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00
dtx_diff scripts/dtc: dtx_diff - add color output support 2019-11-04 11:21:07 -06:00
fdtdump.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fdtget.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
fdtput.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
flattree.c scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00
fstree.c scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00
livetree.c scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00
Makefile dtc: Use pkg-config to locate libyaml 2019-11-04 11:21:07 -06:00
Makefile.dtc scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00
srcpos.c scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00
srcpos.h scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00
treesource.c scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00
update-dtc-source.sh scripts/dtc: Add yamltree.c to dtc sources 2018-09-19 15:10:06 -07:00
util.c scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00
util.h scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00
version_gen.h scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00
yamltree.c scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00