diff options
author | Marek Belisko <marek.belisko@open-nandra.com> | 2013-01-07 10:43:18 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-02-03 14:23:26 +0100 |
commit | 171f5d41665e8ef305e694118b5503dbb50b736e (patch) | |
tree | d244f15c0375106c225c8a31495d8ff8d488444b /package/lvm2/lvm2.mk | |
parent | e407fac85ce51e652c7cd4fd422c788aa3f5f0cf (diff) | |
download | buildroot-novena-171f5d41665e8ef305e694118b5503dbb50b736e.tar.gz buildroot-novena-171f5d41665e8ef305e694118b5503dbb50b736e.zip |
lvm2: add option for application library
[Peter: make mutual exclusive with dmsetup-only, drop special install / make]
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/lvm2/lvm2.mk')
-rw-r--r-- | package/lvm2/lvm2.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk index f54caa44d..49f135d56 100644 --- a/package/lvm2/lvm2.mk +++ b/package/lvm2/lvm2.mk @@ -41,6 +41,12 @@ LVM2_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install_device-mapper LVM2_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install_device-mapper endif +ifeq ($(BR2_PACKAGE_LVM2_APP_LIBRARY),y) +LVM2_CONF_OPT += --enable-applib +else +LVM2_CONF_OPT += --disable-applib +endif + define LVM2_UNINSTALL_STAGING_CMDS rm -f $(addprefix $(STAGING_DIR)/usr/sbin/,$(LVM2_BINS)) rm -f $(addprefix $(STAGING_DIR)/usr/lib/,libdevmapper.so*) |