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-06-16 20:59:29 +00:00
|
|
|
PKG_VERSION:=2.40.1
|
2024-01-09 15:20:18 +00:00
|
|
|
|
2024-04-03 17:12:57 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2024-06-16 20:59:29 +00:00
|
|
|
PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.40
|
|
|
|
PKG_HASH:=8e396eececae2b3b68db232c33b8810faa7c31f6df19f98f512739293d5829b7
|
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))
|