From: Arnout Vandecappelle Date: Tue, 4 Jul 2017 14:03:59 +0000 (+0200) Subject: pkg-autotools: use $(HOST_DIR) instead of $(HOST_DIR)/usr as prefix X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8529a7d9a7e9780a4557e4d0956161e4a9519c68;p=buildroot.git pkg-autotools: use $(HOST_DIR) instead of $(HOST_DIR)/usr as prefix Remove the redundant usr/ component of the HOST_DIR paths. Since a previous commit added a symlink from $(HOST_DIR)/usr to $(HOST_DIR), everything keeps on working. Build-tested with a bunch of autotools packages. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Reviewed-by: Romain Naour Signed-off-by: Thomas Petazzoni --- diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk index ba1f4d9764..45de99356f 100644 --- a/package/pkg-autotools.mk +++ b/package/pkg-autotools.mk @@ -220,7 +220,7 @@ define $(2)_CONFIGURE_CMDS $$($$(PKG)_CONF_ENV) \ CONFIG_SITE=/dev/null \ ./configure \ - --prefix="$$(HOST_DIR)/usr" \ + --prefix="$$(HOST_DIR)" \ --sysconfdir="$$(HOST_DIR)/etc" \ --localstatedir="$$(HOST_DIR)/var" \ --enable-shared --disable-static \