Makefile 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. #
  2. # Copyright (C) 2006-2008 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-ng
  9. PKG_VERSION:=2.18
  10. PKG_MD5SUM:=aff22adfff1bf39cd3f13371b95a3d3a
  11. PKG_RELEASE:=1
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.18/
  14. include $(INCLUDE_DIR)/host-build.mk
  15. define Host/Configure
  16. $(call Host/Configure/Default, \
  17. --disable-shared \
  18. --enable-static \
  19. --disable-rpath \
  20. --disable-tls \
  21. --disable-mount \
  22. --disable-fsck \
  23. --enable-libuuid \
  24. --disable-uuidd \
  25. --disable-libblkid \
  26. --disable-libmount \
  27. --disable-nls \
  28. --disable-rpath \
  29. --disable-arch \
  30. --disable-agetty \
  31. --disable-cramfs \
  32. --disable-switch \
  33. --disable-pivot \
  34. --disable-fallocate \
  35. --disable-unshare \
  36. --disable-elvtune \
  37. --disable-init \
  38. --disable-kill \
  39. --disable-last \
  40. --disable-mesg \
  41. --disable-partx \
  42. --disable-raw \
  43. --disable-rename \
  44. --disable-reset \
  45. --disable-login-utils \
  46. --disable-schedutils \
  47. --disable-wall \
  48. --disable-write \
  49. --disable-chsh-only-listed \
  50. --disable-login-chown-vcs \
  51. --disable-login-stat-mail \
  52. --disable-pg-bell \
  53. --disable-require-password \
  54. --disable-fs-paths-default \
  55. --disable-fs-paths-extra \
  56. --disable-use-tty-group \
  57. --disable-makeinstall-chown \
  58. --disable-makeinstall-setuid \
  59. --without-libiconv-prefix \
  60. --without-libintl-prefix \
  61. --without-ncurses \
  62. --without-slang \
  63. --without-utempter \
  64. --without-pam \
  65. --without-selinux \
  66. --without-audit \
  67. )
  68. endef
  69. define Host/Compile
  70. $(MAKE) -C $(HOST_BUILD_DIR)/shlibs/uuid/src
  71. endef
  72. define Host/Install
  73. $(MAKE) -C $(HOST_BUILD_DIR)/shlibs/uuid/src install
  74. endef
  75. define Host/Clean
  76. -$(MAKE) -C $(HOST_BUILD_DIR)/shlibs/uuid/src uninstall
  77. endef
  78. $(eval $(call HostBuild))