diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2009-11-07 19:13:31 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2009-11-09 11:05:45 +0100 |
commit | 4dfd2a9cf6a8598066bff604983ae3204b057ac1 (patch) | |
tree | 08cb3e645a6fcca8215f11e38788448dcf9476e0 /scripts/lib/ptxd_make_world_install_mangle_pc.awk | |
parent | b5c9357cb9d06515a29714852e5ec85c6aeb14ae (diff) | |
download | ptxdist-4dfd2a9cf6a8598066bff604983ae3204b057ac1.tar.gz ptxdist-4dfd2a9cf6a8598066bff604983ae3204b057ac1.tar.xz |
[ptxd_make_world_install_mangle_pc.awk] also replace $pkg_pkgdir
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_install_mangle_pc.awk')
-rw-r--r-- | scripts/lib/ptxd_make_world_install_mangle_pc.awk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_install_mangle_pc.awk b/scripts/lib/ptxd_make_world_install_mangle_pc.awk index 2cc3e6d20..8c744fbe8 100644 --- a/scripts/lib/ptxd_make_world_install_mangle_pc.awk +++ b/scripts/lib/ptxd_make_world_install_mangle_pc.awk @@ -12,6 +12,7 @@ BEGIN { FS = "([[:space:]]|=)[[:space:]]*"; SYSROOT = ENVIRON["PTXDIST_SYSROOT_TARGET"]; + pkg_pkgdir =ENVIRON["pkg_pkgdir"]; # quote "+" and "/" q_pkg_pkgdir = gensub(/([+/])/, "\\\\\\1", "g", ENVIRON["pkg_pkgdir"]); @@ -64,7 +65,7 @@ $1 ~ /^(includedir|libdir)$/ { $1 ~ /^(Libs(\.private)?|Cflags):$/ { - this_regex = "(-[LI])" SYSROOT; + this_regex = "(-[LI])(" SYSROOT "|" pkg_pkgdir")"; # # replace absolute path by relative ones |