mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
package/libblockdev: add support for swap plugin
Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
723b9a9d7d
commit
29db5b3aed
@@ -57,6 +57,11 @@ config BR2_PACKAGE_LIBBLOCKDEV_PART
|
|||||||
comment "part plugin needs a toolchain w/ locale"
|
comment "part plugin needs a toolchain w/ locale"
|
||||||
depends on !BR2_ENABLE_LOCALE
|
depends on !BR2_ENABLE_LOCALE
|
||||||
|
|
||||||
|
config BR2_PACKAGE_LIBBLOCKDEV_SWAP
|
||||||
|
bool "swap"
|
||||||
|
select BR2_PACKAGE_UTIL_LINUX
|
||||||
|
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "libblockdev needs udev /dev management and a toolchain w/ wchar, threads, dynamic library"
|
comment "libblockdev needs udev /dev management and a toolchain w/ wchar, threads, dynamic library"
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ LIBBLOCKDEV_CONF_OPTS = \
|
|||||||
--without-python2 \
|
--without-python2 \
|
||||||
--without-python3 \
|
--without-python3 \
|
||||||
--without-s390 \
|
--without-s390 \
|
||||||
--without-swap \
|
|
||||||
--without-tools \
|
--without-tools \
|
||||||
--without-vdo
|
--without-vdo
|
||||||
|
|
||||||
@@ -73,4 +72,11 @@ else
|
|||||||
LIBBLOCKDEV_CONF_OPTS += --without-part
|
LIBBLOCKDEV_CONF_OPTS += --without-part
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_SWAP),y)
|
||||||
|
LIBBLOCKDEV_DEPENDENCIES += util-linux
|
||||||
|
LIBBLOCKDEV_CONF_OPTS += --with-swap
|
||||||
|
else
|
||||||
|
LIBBLOCKDEV_CONF_OPTS += --without-swap
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user