summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Schlote <c.schlote@konzeptpark.de>2010-04-26 13:42:39 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2010-05-03 16:17:07 +0200
commit01cece41d11dabc1543dbce9f01ccae75c3f666a (patch)
tree97f4c6ef02569902e46f4290d8328f9ee3e479d4
parentd31eb95acb8e9fb014d7e02547dd0387b80a9d66 (diff)
downloadptxdist-01cece41d11dabc1543dbce9f01ccae75c3f666a.tar.gz
ptxdist-01cece41d11dabc1543dbce9f01ccae75c3f666a.tar.xz
[host-attr] Added DIST_ROOT definition in .make fragment
Added the missing definition for DIST_ROOT to install stage, otherwise it tries to install host binaries into the host filesystem instead to PKG_DIR. Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de> [mkl: use HOST_ATTR_PKGDIR instead of ATTR_PKGDIR, adjust libexecdir] Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r--rules/host-attr.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/host-attr.make b/rules/host-attr.make
index 9d4cafc58..b1f33bc59 100644
--- a/rules/host-attr.make
+++ b/rules/host-attr.make
@@ -21,13 +21,14 @@ HOST_PACKAGES-$(PTXCONF_HOST_ATTR) += host-attr
HOST_ATTR_ENV := $(HOST_ENV)
HOST_ATTR_INSTALL_OPT := \
+ DIST_ROOT=$(HOST_ATTR_PKGDIR) \
install \
install-lib \
install-dev
HOST_ATTR_AUTOCONF := \
$(HOST_AUTOCONF) \
- --libexecdir=$(PTXDIST_SYSROOT_HOST)/lib \
+ --libexecdir=/lib \
--enable-shared
# vim: syntax=make