From: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 2/3] acl: add host variant
Date: Fri, 17 Mar 2017 17:06:15 +0100 [thread overview]
Message-ID: <20170317160616.20570-2-arnout@mind.be> (raw)
In-Reply-To: <20170317160616.20570-1-arnout@mind.be>
We need host-acl to fix issues with fakeroot.
Unfortunately, all the hacks (except the .la fixup) have to be repeated.
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Cc: Andreas Naumann <dev@andin.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
v2: - propagate CFLAGS (Andreas Naumann)
- mention that .la hack isn't needed for host.
---
package/acl/acl.mk | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/package/acl/acl.mk b/package/acl/acl.mk
index 9fd5de18a4..e1462b60aa 100644
--- a/package/acl/acl.mk
+++ b/package/acl/acl.mk
@@ -43,4 +43,15 @@ endef
ACL_POST_INSTALL_STAGING_HOOKS += ACL_FIX_LIBTOOL_LA_LIBDIR
+HOST_ACL_DEPENDENCIES = host-attr
+HOST_ACL_CONF_OPTS = --enable-gettext=no
+HOST_ACL_MAKE_ENV = CFLAGS="$(HOST_CFLAGS)"
+HOST_ACL_INSTALL_OPTS = \
+ prefix=$(HOST_DIR)/usr \
+ exec_prefix=$(HOST_DIR)/usr \
+ PKG_DEVLIB_DIR=$(HOST_DIR)/usr/lib \
+ install-dev install-lib
+# For the host, libacl.la is correct, no fixup needed.
+
$(eval $(autotools-package))
+$(eval $(host-autotools-package))
--
2.11.0
next prev parent reply other threads:[~2017-03-17 16:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-17 16:06 [Buildroot] [PATCH v2 1/3] acl: make sure build picks up TARGET_CFLAGS Arnout Vandecappelle
2017-03-17 16:06 ` Arnout Vandecappelle [this message]
2017-03-17 16:06 ` [Buildroot] [PATCH v2 3/3] fakeroot: depend on acl Arnout Vandecappelle
2017-03-17 22:17 ` [Buildroot] [PATCH v2 1/3] acl: make sure build picks up TARGET_CFLAGS Andreas Naumann
2017-03-17 22:20 ` Arnout Vandecappelle
2017-03-20 7:54 ` Andreas Naumann
2017-03-20 21:53 ` Arnout Vandecappelle
2017-03-18 13:12 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170317160616.20570-2-arnout@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox