diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2017-10-05 17:06:20 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-10-05 22:45:30 +0200 |
commit | 90cfc5f16a29f2c469048e4019af63289d106e87 (patch) | |
tree | 8e17235003921c5aa57da5d31778bfedd7d45c02 /package/lvm2 | |
parent | ab646bf1628bba83c84f02219759a6461dd18701 (diff) | |
download | buildroot-90cfc5f16a29f2c469048e4019af63289d106e87.tar.gz buildroot-90cfc5f16a29f2c469048e4019af63289d106e87.zip |
lvm2: add host variant
This is only for the device-mapper library, so a user selectable
Config.in.host option isn't needed.
[Peter: add host-pkgconf dependency as pointed out by Arnout]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/lvm2')
-rw-r--r-- | package/lvm2/lvm2.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk index f7f706976f..9880c12bf0 100644 --- a/package/lvm2/lvm2.mk +++ b/package/lvm2/lvm2.mk @@ -51,4 +51,17 @@ ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),) LVM2_CONF_ENV += ac_cv_flag_HAVE_PIE=no endif +HOST_LVM2_DEPENDENCIES = host-pkgconf +HOST_LVM2_CONF_OPTS = \ + --enable-write_install \ + --enable-pkgconfig \ + --disable-cmdlib \ + --disable-dmeventd \ + --disable-applib \ + --disable-fsadm \ + --disable-readline +HOST_LVM2_MAKE_OPTS = device-mapper +HOST_LVM2_INSTALL_OPTS = install_device-mapper + $(eval $(autotools-package)) +$(eval $(host-autotools-package)) |