[Buildroot] [PATCH v2 1/4] attr: add host variant
gustavo.zacarias at free-electrons.com
gustavo.zacarias at free-electrons.com
Wed Feb 24 14:26:29 UTC 2016
From: Gustavo Zacarias <gustavo.zacarias at free-electrons.com>
This is required for host-libcap for extended attributes support, which
leads to capabilities support as well.
Signed-off-by: Gustavo Zacarias <gustavo.zacarias at free-electrons.com>
---
package/attr/attr.mk | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/attr/attr.mk b/package/attr/attr.mk
index a66891b..e9963ba 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))
--
2.4.10
More information about the buildroot
mailing list