On Fri, Feb 22, 2019 at 09:14:03AM +0100, Michael Olbrich wrote: > Make sure the path for m4 is just /bin/m4 and then fix it correctly in > host-autotools-autoconf.install.post. Otherwise the absolute path to > sysroot-host is part of the dev package. > > Signed-off-by: Michael Olbrich <m.olbr...@pengutronix.de> > --- > > Hi, > > Can you check, if you get a correct dev package for host-autotools-autoconf > with this? > > Michael > > rules/host-autotools-autoconf.make | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/rules/host-autotools-autoconf.make > b/rules/host-autotools-autoconf.make > index 9f9c4de94c4e..9c2f516ddc45 100644 > --- a/rules/host-autotools-autoconf.make > +++ b/rules/host-autotools-autoconf.make > @@ -35,6 +35,11 @@ $(STATEDIR)/autogen-tools: > $(STATEDIR)/host-autotools-autoconf.install.post > # Prepare > # > ---------------------------------------------------------------------------- > > +# Note: the path for m4 will be fixed in .install.post > +HOST_AUTOTOOLS_AUTOCONF_CONF_ENV := \ > + $(HOST_ENV) \ > + ac_cv_path_M4=/bin/m4
This does not work. There is an extra check so the path must be usable. I need to come up with a different solution. Michael > + > # > # autoconf > # > @@ -48,7 +53,7 @@ $(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/\(m4\|auto[^']*\)\)';'$(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 -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de