Makefile 746 B

12345678910111213141516171819202122232425262728
  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.41.2
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  11. PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.41
  12. PKG_HASH:=6062a1d89b571a61932e6fc0211f36060c4183568b81ee866cf363bce9f6583e
  13. PKG_CPE_ID:=cpe:/a:kernel:util-linux
  14. include $(INCLUDE_DIR)/host-build.mk
  15. include $(INCLUDE_DIR)/meson.mk
  16. MESON_HOST_ARGS += \
  17. $(if $(findstring y,$(YEAR_2038)),,-Dallow-32bit-time=true) \
  18. -Dauto_features=disabled \
  19. -Dbuild-hexdump=enabled \
  20. -Dbuild-libuuid=enabled \
  21. -Dncurses=enabled \
  22. -Dprogram-tests=false
  23. $(eval $(call HostBuild))