From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] lvm2: add host variant
Date: Thu, 05 Oct 2017 21:40:54 +0200 [thread overview]
Message-ID: <877ew9idrt.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <d10a8a17-a515-ce9e-95bf-50e32916901e@mind.be> (Arnout Vandecappelle's message of "Thu, 5 Oct 2017 20:32:02 +0200")
>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:
> On 05-10-17 17:06, Peter Korsgaard wrote:
>> This is only for the device-mapper library, so a user selectable
>> Config.in.host option isn't needed.
>>
>> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> I was going to apply, but...
>> ---
>> package/lvm2/lvm2.mk | 12 ++++++++++++
>> 1 file changed, 12 insertions(+)
>>
>> diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk
>> index f7f706976f..5783ab08be 100644
>> --- a/package/lvm2/lvm2.mk
>> +++ b/package/lvm2/lvm2.mk
>> @@ -51,4 +51,16 @@ ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
>> LVM2_CONF_ENV += ac_cv_flag_HAVE_PIE=no
>> endif
>>
>> +HOST_LVM2_CONF_OPTS = \
>> + --enable-write_install \
>> + --enable-pkgconfig \
> ... this made me think: shouldn't it depend on host-pkgconf? The
> target package depends on host-pkgconf, even though it doesn't depend
> on anything else (except optionally readline but that doesn't have a
> .pc file). It's probably OK but I'd like an explanation just to be
> sure.
--enable-pkgconfig is about if lvm2 should install .pc files, not if it
should use pkg-config to find dependencies. I had missed the
host-pkgconf dependency on the target variant (because of the +=).
The device-mapper library doesn't strictly need pkg-config, but yeah, it
makes sense to keep in sync with the target version.
I'll add it when applying, thanks!
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2017-10-05 19:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-05 15:06 [Buildroot] [PATCH 1/2] lvm2: add host variant Peter Korsgaard
2017-10-05 15:06 ` [Buildroot] [PATCH 2/2] cryptsetup: " Peter Korsgaard
2017-10-05 20:45 ` Peter Korsgaard
2017-10-05 18:32 ` [Buildroot] [PATCH 1/2] lvm2: " Arnout Vandecappelle
2017-10-05 19:40 ` Peter Korsgaard [this message]
2017-10-05 20:45 ` Peter Korsgaard
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=877ew9idrt.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--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