mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
util-linux: enable lscpu
This commit is contained in:
parent
ec69122560
commit
19602df226
@ -53,7 +53,8 @@ PKG_CONFIGURE_OPTS_TARGET="$UTILLINUX_CONFIG_DEFAULT \
|
|||||||
--enable-losetup \
|
--enable-losetup \
|
||||||
--enable-fsck \
|
--enable-fsck \
|
||||||
--enable-fstrim \
|
--enable-fstrim \
|
||||||
--enable-blkid"
|
--enable-blkid \
|
||||||
|
--enable-lscpu"
|
||||||
|
|
||||||
if [ "$SWAP_SUPPORT" = "yes" ]; then
|
if [ "$SWAP_SUPPORT" = "yes" ]; then
|
||||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-swapon"
|
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-swapon"
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index a05a294..558851d 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -1498,7 +1498,11 @@ UL_REQUIRES_BUILD([lsblk], [libsmartcols])
|
||||||
|
AM_CONDITIONAL([BUILD_LSBLK], [test "x$build_lsblk" = xyes])
|
||||||
|
|
||||||
|
|
||||||
|
-UL_BUILD_INIT([lscpu], [check])
|
||||||
|
+AC_ARG_ENABLE([lscpu],
|
||||||
|
+ AS_HELP_STRING([--disable-lscpu], [do not build lscpu]),
|
||||||
|
+ [], [UL_DEFAULT_ENABLE([lscpu], [check])]
|
||||||
|
+)
|
||||||
|
+UL_BUILD_INIT([lscpu])
|
||||||
|
UL_REQUIRES_LINUX([lscpu])
|
||||||
|
UL_REQUIRES_BUILD([lscpu], [libsmartcols])
|
||||||
|
UL_REQUIRES_HAVE([lscpu], [cpu_set_t], [cpu_set_t type])
|
Loading…
x
Reference in New Issue
Block a user