2024-01-09 15:20:18 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006-2015 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=util-linux
|
2024-07-23 19:24:39 +00:00
|
|
|
PKG_VERSION:=2.40.2
|
2024-01-09 15:20:18 +00:00
|
|
|
|
2024-07-23 19:24:39 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2024-06-16 20:59:29 +00:00
|
|
|
PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.40
|
2024-07-23 19:24:39 +00:00
|
|
|
PKG_HASH:=d78b37a66f5922d70edf3bdfb01a6b33d34ed3c3cafd6628203b2a2b67c8e8b3
|
2024-01-09 15:20:18 +00:00
|
|
|
PKG_CPE_ID:=cpe:/a:kernel:util-linux
|
|
|
|
|
2024-06-25 15:45:57 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
|
|
|
|
2024-01-09 15:20:18 +00:00
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
|
|
|
HOST_CONFIGURE_ARGS += \
|
2024-07-01 23:48:45 +00:00
|
|
|
--with-pic \
|
2024-06-25 15:51:24 +00:00
|
|
|
--disable-shared \
|
2024-07-08 18:47:01 +00:00
|
|
|
--disable-nls \
|
2024-06-25 15:45:57 +00:00
|
|
|
--disable-all-programs \
|
|
|
|
--enable-hexdump \
|
2024-06-25 15:51:24 +00:00
|
|
|
--enable-libuuid \
|
2024-01-09 15:20:18 +00:00
|
|
|
--without-util \
|
|
|
|
--without-selinux \
|
|
|
|
--without-audit \
|
|
|
|
--without-udev \
|
|
|
|
--without-ncursesw \
|
|
|
|
--without-ncurses \
|
|
|
|
--without-slang \
|
|
|
|
--without-tinfo \
|
|
|
|
--without-readline \
|
|
|
|
--without-utempter \
|
|
|
|
--without-cap-ng \
|
|
|
|
--without-libz \
|
|
|
|
--without-libmagic \
|
|
|
|
--without-user \
|
|
|
|
--without-btrfs \
|
|
|
|
--without-systemd \
|
|
|
|
--without-smack \
|
|
|
|
--without-econf \
|
|
|
|
--without-python \
|
|
|
|
--without-cryptsetup
|
|
|
|
|
|
|
|
define Host/Uninstall
|
2024-06-25 15:49:43 +00:00
|
|
|
-$(call Host/Compile/Default,uninstall)
|
2024-01-09 15:20:18 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|