summaryrefslogtreecommitdiffstats
path: root/package/attr
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>2016-02-24 11:26:29 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-25 22:24:14 +0100
commit0bc739517e7b4f48e25354fc7c769a11c6d30e2a (patch)
tree3c388f74b01cf838f59175a8860231b7f4990be7 /package/attr
parent2d3621224278bef25cad56ebbe51bc0d18d0d572 (diff)
downloadbuildroot-0bc739517e7b4f48e25354fc7c769a11c6d30e2a.tar.gz
buildroot-0bc739517e7b4f48e25354fc7c769a11c6d30e2a.zip
attr: add host variant
This is required for host-libcap for extended attributes support, which leads to capabilities support as well. Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/attr')
-rw-r--r--package/attr/attr.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/attr/attr.mk b/package/attr/attr.mk
index a66891b857..e9963bac8e 100644
--- a/package/attr/attr.mk
+++ b/package/attr/attr.mk
@@ -26,6 +26,11 @@ ATTR_INSTALL_TARGET_OPTS = \
exec_prefix=$(TARGET_DIR)/usr \
install install-lib
+HOST_ATTR_INSTALL_OPTS = \
+ prefix=$(HOST_DIR)/usr \
+ exec_prefix=$(HOST_DIR)/usr \
+ install-dev install-lib
+
# The libdir variable in libattr.la is empty, so let's fix it. This is
# probably due to attr not using automake, and not doing fully the
# right thing with libtool.
@@ -37,3 +42,4 @@ endef
ATTR_POST_INSTALL_STAGING_HOOKS += ATTR_FIX_LIBTOOL_LA_LIBDIR
$(eval $(autotools-package))
+$(eval $(host-autotools-package))
OpenPOWER on IntegriCloud