From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de, Jon Ringle <jon@ringle.org>
Cc: Michael Olbrich <m.olbrich@pengutronix.de>
Subject: [ptxdist] [PATCH] host-autotools-autoconf: fix m4 path
Date: Fri, 22 Feb 2019 14:19:59 +0100 [thread overview]
Message-ID: <20190222131959.11021-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20190222125905.agrkec3qgpav42ut@pengutronix.de>
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>
---
Next try, please test this.
Michael
rules/host-autotools-autoconf.make | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/rules/host-autotools-autoconf.make b/rules/host-autotools-autoconf.make
index 9f9c4de94c4e..ab2bb28958e8 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)
--
2.20.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2019-02-22 13:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-18 20:18 [ptxdist] host-autoconf: hardcoded path to m4 Jon Ringle
2019-02-22 8:14 ` [ptxdist] [PATCH] host-autotools-autoconf: fix m4 path Michael Olbrich
2019-02-22 12:59 ` Michael Olbrich
2019-02-22 13:19 ` Michael Olbrich [this message]
2019-02-22 18:08 ` Jon Ringle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190222131959.11021-1-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=jon@ringle.org \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox