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