summaryrefslogtreecommitdiffstats
path: root/rules/host-autotools-autoconf.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2023-01-13 18:06:13 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2023-01-22 20:31:52 +0100
commit9c752963983a6de1c4205ba6c53f097d9ab1099f (patch)
tree060e274a29d30ba8db094ba979508ebf6db99e30 /rules/host-autotools-autoconf.make
parent196d9a00220ba9f32d2c6a8f983154c6311393c1 (diff)
downloadptxdist-9c752963983a6de1c4205ba6c53f097d9ab1099f.tar.gz
ptxdist-9c752963983a6de1c4205ba6c53f097d9ab1099f.tar.xz
use /usr in sysroot-host and sysroot-cross
Building packages with prefix=/ is getting more difficult. For sysroot-host and sysroot-cross is doesn't really matter, so switch to prefix=/usr here as well. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-autotools-autoconf.make')
-rw-r--r--rules/host-autotools-autoconf.make12
1 files changed, 6 insertions, 6 deletions
diff --git a/rules/host-autotools-autoconf.make b/rules/host-autotools-autoconf.make
index 994ca51fe..7bacc56f8 100644
--- a/rules/host-autotools-autoconf.make
+++ b/rules/host-autotools-autoconf.make
@@ -45,14 +45,14 @@ HOST_AUTOTOOLS_AUTOCONF_CONF_TOOL := autoconf
$(STATEDIR)/host-autotools-autoconf.install.post:
@$(call targetinfo)
@sed -i \
- -e "s;'\(/share/autoconf\)';'$(PTXDIST_SYSROOT_HOST)\1';g" \
- -e "s;'\(/bin/auto[^']*\)';'$(PTXDIST_SYSROOT_HOST)\1';g" \
+ -e "s;'\(/usr/share/autoconf\)';'$(PTXDIST_SYSROOT_HOST)\1';g" \
+ -e "s;'\(/usr/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
+ $(HOST_AUTOTOOLS_AUTOCONF_PKGDIR)/usr/bin/* \
+ $(HOST_AUTOTOOLS_AUTOCONF_PKGDIR)/usr/share/autoconf/autom4te.cfg
@sed -i \
- -e "s;\(/share/autoconf/\);$(PTXDIST_SYSROOT_HOST)\1;g" \
- $(HOST_AUTOTOOLS_AUTOCONF_PKGDIR)/bin/autoconf
+ -e "s;\(/usr/share/autoconf/\);$(PTXDIST_SYSROOT_HOST)\1;g" \
+ $(HOST_AUTOTOOLS_AUTOCONF_PKGDIR)/usr/bin/autoconf
@$(call world/install.post, HOST_AUTOTOOLS_AUTOCONF)
@$(call touch)