2017-04-03 21:13:59 +00:00
|
|
|
modules-$(CONFIG_UTIL_LINUX) += util-linux
|
|
|
|
|
|
|
|
util-linux_version := 2.29.2
|
|
|
|
util-linux_dir := util-linux-$(util-linux_version)
|
|
|
|
util-linux_tar := util-linux-$(util-linux_version).tar.xz
|
|
|
|
util-linux_url := https://www.kernel.org/pub/linux/utils/util-linux/v2.29/$(util-linux_tar)
|
|
|
|
util-linux_hash := accea4d678209f97f634f40a93b7e9fcad5915d1f4749f6c47bee6bf110fe8e3
|
|
|
|
|
|
|
|
util-linux_configure := ./configure \
|
2017-04-08 17:23:34 +00:00
|
|
|
$(CROSS_TOOLS) \
|
2017-04-03 21:13:59 +00:00
|
|
|
--host i386-elf-linux \
|
2017-04-08 17:23:34 +00:00
|
|
|
--prefix "/" \
|
2017-04-03 21:13:59 +00:00
|
|
|
--oldincludedir "$(INSTALL)/include" \
|
|
|
|
--without-ncurses \
|
|
|
|
--without-ncursesw \
|
|
|
|
--without-tinfo \
|
|
|
|
--without-udev \
|
|
|
|
--without-python \
|
|
|
|
--disable-bash-completion \
|
|
|
|
--disable-all-programs \
|
|
|
|
--enable-libuuid \
|
|
|
|
--enable-libblkid \
|
|
|
|
|
|
|
|
|
|
|
|
util-linux_target := \
|
2017-04-08 17:23:34 +00:00
|
|
|
$(MAKE_JOBS) \
|
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
DESTDIR="$(INSTALL)" \
|
2020-10-22 11:16:00 +00:00
|
|
|
install && \
|
|
|
|
rm $(INSTALL)/lib/libblkid.la && \
|
|
|
|
rm $(INSTALL)/lib/libuuid.la
|
2017-04-03 21:13:59 +00:00
|
|
|
|
2020-06-16 08:29:01 +00:00
|
|
|
util-linux_libraries += \
|
|
|
|
.libs/libuuid.so.1 \
|
|
|
|
.libs/libblkid.so.1 \
|
2017-04-03 21:13:59 +00:00
|
|
|
|
|
|
|
util-linux_depends := $(musl_dep)
|