mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 21:43:11 +00:00
b5fb2f907c
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
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 \
|
|
$(CROSS_TOOLS) \
|
|
--host $(MUSL_ARCH)-elf-linux \
|
|
--prefix "/" \
|
|
--oldincludedir "$(INSTALL)/include" \
|
|
--without-ncurses \
|
|
--without-ncursesw \
|
|
--without-tinfo \
|
|
--without-udev \
|
|
--without-python \
|
|
--disable-bash-completion \
|
|
--disable-all-programs \
|
|
--enable-libuuid \
|
|
--enable-libblkid \
|
|
--enable-agetty \
|
|
|
|
|
|
util-linux_target := \
|
|
$(MAKE_JOBS) \
|
|
$(CROSS_TOOLS) \
|
|
DESTDIR="$(INSTALL)" \
|
|
install && \
|
|
rm $(INSTALL)/lib/libblkid.la && \
|
|
rm $(INSTALL)/lib/libuuid.la
|
|
|
|
util-linux_libraries += \
|
|
.libs/libuuid.so.1 \
|
|
.libs/libblkid.so.1 \
|
|
|
|
util-linux_agetty-$(CONFIG_USE_AGETTY) := agetty
|
|
util-linux_output := $(util-linux_agetty-y)
|
|
|
|
util-linux_depends := $(musl_dep)
|