Skip to content

Commit

Permalink
remove some util-linux features
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Apr 5, 2024
1 parent e701386 commit 25f32c4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions linux/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,24 @@ then
pushd $home/util-linux
PKG_CONFIG_PATH=$dist/lib/pkgconfig:$dist/share/pkgconfig \
PKG_CONFIG_SYSROOT_DIR=$dist \
CFLAGS="-I$dist/include" \
LDFLAGS="-L$dist/lib" \
$ext/util-linux/configure \
--host=$SDK_TARGET \
--target=$SDK_TARGET \
--prefix="" \
--with-sysroot=$dist \
--without-python \
--disable-login \
--disable-nologin \
--disable-kill \
--disable-chfn-chsh \
--disable-cal \
--disable-hwclock-gplv3 \
--disable-libmount \
--disable-mount \
--disable-libblkid \
--disable-libfdisk \
$SDK_UTIL_LINUX_ARGS
make
fakeroot make DESTDIR=$dist install
Expand Down

0 comments on commit 25f32c4

Please sign in to comment.