openwrt/tools/util-linux/Makefile
Robert Marko bab3ae2ee7 tools: prefer gz or bz2 tarballs
In the light of recent XZ events, and fundamental XZ issues lets work on
moving away from using XZ.

So, use gz compressed tarballs as sources whenever possible.

dwarves only offers bz2 compressed tarballs, so use those as size
difference is minor compared to XZ.

Signed-off-by: Robert Marko <robimarko@gmail.com>

dwarves
2024-04-06 11:24:18 +02:00

133 lines
2.7 KiB
Makefile

#
# 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
PKG_VERSION:=2.39.3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.39
PKG_HASH:=40ea07584d56c310455471afa92c119ec259776a561af7159cc802344c2c370d
PKG_CPE_ID:=cpe:/a:kernel:util-linux
HOST_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/host-build.mk
HOST_CONFIGURE_ARGS += \
--disable-poman \
--disable-nls \
--disable-asciidoc \
--disable-poman \
--disable-libuuid \
--disable-libblkid \
--disable-libmount \
--disable-libsmartcols \
--disable-libfdisk \
--disable-fdisks \
--disable-mount \
--disable-losetup \
--disable-zramctl \
--disable-fsck \
--disable-partx \
--disable-uuidd \
--disable-uuidgen \
--disable-blkid \
--disable-wipefs \
--disable-mountpoint \
--disable-fallocate \
--disable-unshare \
--disable-nsenter \
--disable-setpriv \
--disable-hardlink \
--disable-eject \
--disable-agetty \
--disable-cramfs \
--disable-bfs \
--disable-minix \
--disable-hwclock \
--disable-mkfs \
--disable-fstrim \
--disable-swapon \
--disable-lscpu \
--disable-lsfd \
--disable-lslogins \
--disable-wdctl \
--disable-cal \
--disable-logger \
--disable-whereis \
--disable-pipesz \
--disable-waitpid \
--disable-switch_root \
--disable-pivot_root \
--disable-lsmem \
--disable-chmem \
--disable-ipcmk \
--disable-ipcrm \
--disable-ipcs \
--disable-irqtop \
--disable-lsirq \
--disable-lsns \
--disable-rfkill \
--disable-scriptutils \
--disable-tunelp \
--disable-kill \
--disable-last \
--disable-utmpdump \
--disable-line \
--disable-mesg \
--disable-raw \
--disable-rename \
--disable-vipw \
--disable-newgrp \
--disable-chfn-chsh \
--disable-login \
--disable-nologin \
--disable-sulogin \
--disable-su \
--disable-runuser \
--disable-ul \
--disable-more \
--disable-pg \
--disable-setterm \
--disable-schedutils \
--disable-wall \
--disable-write \
--disable-bash-completion \
--disable-pylibmount \
--disable-pg-bell \
--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/Install
$(INSTALL_BIN) $(HOST_BUILD_DIR)/hexdump $(STAGING_DIR_HOST)/bin/
endef
define Host/Uninstall
rm -f $(STAGING_DIR_HOST)/bin/hexdump
endef
$(eval $(call HostBuild))