diff options
author | Michael Tretter <m.tretter@pengutronix.de> | 2019-10-08 11:58:24 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-10-08 17:36:18 +0200 |
commit | 477fa96806cde885e20a4fbabe8ac80d51ce9617 (patch) | |
tree | 2a9047de22f6f4626ce97055884cd91e3f615900 /scripts/split-error-log.awk | |
parent | 7f33def3b9def03dba293ba9108830459a9383c5 (diff) | |
download | ptxdist-477fa96806cde885e20a4fbabe8ac80d51ce9617.tar.gz ptxdist-477fa96806cde885e20a4fbabe8ac80d51ce9617.tar.xz |
pkg-config-wrapper: remove sysroot only from specified variables
The PTXDIST_PKG_CONFIG_VAR_NO_SYSROOT variable allows to specify
pkg-config variable that shall be relative to the target rootfs and not
contain the sysroot path. This is important for variables that are used
for writing files to the target rootfs, e.g., systemduserunitdir.
Currently, the sysroot is removed from all pkg-config variables, if
PTXDIST_PKG_CONFIG_VAR_NO_SYSROOT is set, but packages already specify
the name of the variable that must not include the sysroot.
Add a check to remove the sysroot only from variables that are actually
contained in PTXDIST_PKG_CONFIG_VAR_NO_SYSROOT.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/split-error-log.awk')
0 files changed, 0 insertions, 0 deletions