From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 5/6] lvm2: Compile and install application library.
Date: Mon, 7 Jan 2013 22:38:02 +0100 [thread overview]
Message-ID: <20130107223802.26215d46@skate> (raw)
In-Reply-To: <1357591399-3566-6-git-send-email-marek.belisko@open-nandra.com>
Dear Marek Belisko,
On Mon, 7 Jan 2013 21:43:18 +0100, Marek Belisko wrote:
> +config BR2_PACKAGE_LVM2_APP_LIBRARY
> + bool "install application library"
> + depends on BR2_PACKAGE_LVM2
> + help
> + Install application library (liblvm2app2).
> +
> +ifeq ($(BR2_PACKAGE_LVM2_APP_LIBRARY),y)
> +LVM2_MAKE_OPT += liblvm
> +LVM2_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install
> +LVM2_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
> +endif
I am not quite sure this is correct. Currently, the package works as
follows (if I understand correctly):
* if BR2_PACKAGE_LVM2=y but BR2_PACKAGE_LVM2_DMSETUP_ONLY is not
enabled, then LVM2_MAKE_OPT is empty, so it just runs the default
make target, which presumably builds everything.
* if BR2_PACKAGE_LVM2=y and BR2_PACKAGE_LVM2_DMSETUP_ONLY=y, then
LVM2_MAKE_OPT is set to device-mapper, in which case it only builds
the device mapper code.
So now, you add a third BR2_PACKAGE_LVM2_APP_LIBRARY option. But if I
do BR2_PACKAGE_LVM2=y and BR2_PACKAGE_LVM2_APP_LIBRARY=y, it will only
build the library and not the rest, which is not what we expect.
I'd say that the DMSETUP_ONLY thing is a bad idea from the beginning,
so I'm not sure what's the best way moving forward.
Are you sure liblvm doesn't get build and installed by the default
BR2_PACKAGE_LVM2=y configuration?
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2013-01-07 21:38 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-07 20:43 [Buildroot] [PATCH v2 0/6] Add support for udisks package Marek Belisko
2013-01-07 20:43 ` [Buildroot] [PATCH v2 1/6] sg3_utils: new package Marek Belisko
2013-01-07 21:26 ` Thomas Petazzoni
2013-01-07 21:45 ` Belisko Marek
2013-01-07 21:52 ` Thomas Petazzoni
2013-01-07 21:56 ` Yann E. MORIN
2013-01-08 8:05 ` Arnout Vandecappelle
2013-01-15 20:48 ` Belisko Marek
2013-01-15 20:59 ` Yann E. MORIN
2013-01-15 21:04 ` Belisko Marek
2013-01-15 21:29 ` Yann E. MORIN
2013-01-16 8:17 ` Arnout Vandecappelle
2013-01-07 20:43 ` [Buildroot] [PATCH v2 2/6] polkit: " Marek Belisko
2013-01-07 21:26 ` Thomas Petazzoni
2013-01-07 21:31 ` Thomas Petazzoni
2013-01-07 20:43 ` [Buildroot] [PATCH v2 3/6] libatasmart: " Marek Belisko
2013-01-07 21:30 ` Thomas Petazzoni
2013-01-07 21:52 ` Belisko Marek
2013-01-07 21:53 ` Thomas Petazzoni
2013-01-07 20:43 ` [Buildroot] [PATCH v2 4/6] lvm2: Install devmapper.pc to staging/target pkgconfig directory Marek Belisko
2013-01-07 20:43 ` [Buildroot] [PATCH v2 5/6] lvm2: Compile and install application library Marek Belisko
2013-01-07 21:38 ` Thomas Petazzoni [this message]
2013-01-07 21:58 ` Belisko Marek
2013-01-15 20:53 ` Belisko Marek
2013-01-16 8:06 ` Thomas Petazzoni
2013-01-16 8:49 ` Belisko Marek
2013-02-03 14:20 ` Peter Korsgaard
2013-02-03 20:44 ` Belisko Marek
2013-02-03 21:47 ` Peter Korsgaard
2013-01-07 20:43 ` [Buildroot] [PATCH v2 6/6] udisks: new package Marek Belisko
2013-01-07 21:47 ` Thomas Petazzoni
2013-01-07 22:03 ` Belisko Marek
2013-01-07 22:18 ` Thomas Petazzoni
2013-01-07 22:25 ` Belisko Marek
2013-01-07 22:49 ` 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=20130107223802.26215d46@skate \
--to=thomas.petazzoni@free-electrons.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