diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-02-22 08:52:58 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-02-26 09:13:26 +0100 |
commit | b964b8186bfb4f2e903981fb1f4be8e015bef53e (patch) | |
tree | 987a9fd66245a779634afbb2f8d1749d03ea324e /rules | |
parent | e59b691461eeb03860a4db798351f1f6b9246ca8 (diff) | |
download | ptxdist-b964b8186bfb4f2e903981fb1f4be8e015bef53e.tar.gz ptxdist-b964b8186bfb4f2e903981fb1f4be8e015bef53e.tar.xz |
host-autotools-autoconf: fix m4 path
The path for m4 already is the full path in sysroot-host.
Replace it with the current sysroot-host in case we just extracted a dev
package.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Tested-by: Jon Ringle <jringle@gridpoint.com>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/host-autotools-autoconf.make | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/host-autotools-autoconf.make b/rules/host-autotools-autoconf.make index 9f9c4de94..ab2bb2895 100644 --- a/rules/host-autotools-autoconf.make +++ b/rules/host-autotools-autoconf.make @@ -48,7 +48,8 @@ $(STATEDIR)/host-autotools-autoconf.install.post: @$(call targetinfo) @sed -i \ -e "s;'\(/share/autoconf\)';'$(PTXDIST_SYSROOT_HOST)\1';g" \ - -e "s;'\(/bin/\(m4\)\?\(auto[^']*\)\)';'$(PTXDIST_SYSROOT_HOST)\1';g" \ + -e "s;'\(/bin/auto[^']*\)';'$(PTXDIST_SYSROOT_HOST)\1';g" \ + -e "s;'/[^']*/sysroot-host\(/bin/m4\)';'$(PTXDIST_SYSROOT_HOST)\1';g" \ $(HOST_AUTOTOOLS_AUTOCONF_PKGDIR)/bin/* \ $(HOST_AUTOTOOLS_AUTOCONF_PKGDIR)/share/autoconf/autom4te.cfg @$(call world/install.post, HOST_AUTOTOOLS_AUTOCONF) |