Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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.2
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  11. PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.40
  12. PKG_HASH:=d78b37a66f5922d70edf3bdfb01a6b33d34ed3c3cafd6628203b2a2b67c8e8b3
  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. --with-pic \
  19. --disable-shared \
  20. --disable-nls \
  21. --disable-all-programs \
  22. --enable-hexdump \
  23. --enable-libuuid \
  24. --without-util \
  25. --without-selinux \
  26. --without-audit \
  27. --without-udev \
  28. --without-ncursesw \
  29. --without-ncurses \
  30. --without-slang \
  31. --without-tinfo \
  32. --without-readline \
  33. --without-utempter \
  34. --without-cap-ng \
  35. --without-libz \
  36. --without-libmagic \
  37. --without-user \
  38. --without-btrfs \
  39. --without-systemd \
  40. --without-smack \
  41. --without-econf \
  42. --without-python \
  43. --without-cryptsetup
  44. define Host/Uninstall
  45. -$(call Host/Compile/Default,uninstall)
  46. endef
  47. $(eval $(call HostBuild))