Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #
  2. # Copyright (C) 2006-2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=util-linux
  9. PKG_VERSION:=2.40.1
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  11. PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.40
  12. PKG_HASH:=8e396eececae2b3b68db232c33b8810faa7c31f6df19f98f512739293d5829b7
  13. PKG_CPE_ID:=cpe:/a:kernel:util-linux
  14. PKG_FIXUP:=autoreconf
  15. HOST_BUILD_PARALLEL:=1
  16. include $(INCLUDE_DIR)/host-build.mk
  17. HOST_CONFIGURE_ARGS += \
  18. --disable-shared \
  19. --disable-all-programs \
  20. --enable-hexdump \
  21. --enable-libuuid \
  22. --without-util \
  23. --without-selinux \
  24. --without-audit \
  25. --without-udev \
  26. --without-ncursesw \
  27. --without-ncurses \
  28. --without-slang \
  29. --without-tinfo \
  30. --without-readline \
  31. --without-utempter \
  32. --without-cap-ng \
  33. --without-libz \
  34. --without-libmagic \
  35. --without-user \
  36. --without-btrfs \
  37. --without-systemd \
  38. --without-smack \
  39. --without-econf \
  40. --without-python \
  41. --without-cryptsetup
  42. define Host/Uninstall
  43. -$(call Host/Compile/Default,uninstall)
  44. endef
  45. $(eval $(call HostBuild))