2010-01-11 11:18:26 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006-2008 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2010-10-02 23:18:46 +00:00
|
|
|
PKG_NAME:=util-linux-ng
|
|
|
|
PKG_VERSION:=2.18
|
|
|
|
PKG_MD5SUM:=aff22adfff1bf39cd3f13371b95a3d3a
|
2010-01-11 11:18:26 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2010-10-02 23:18:46 +00:00
|
|
|
PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.18/
|
2010-01-11 11:18:26 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
|
|
|
define Host/Configure
|
2010-10-02 23:18:46 +00:00
|
|
|
$(call Host/Configure/Default, \
|
|
|
|
--disable-shared \
|
2010-01-11 11:18:26 +00:00
|
|
|
--enable-static \
|
|
|
|
--disable-rpath \
|
|
|
|
--disable-tls \
|
2010-10-02 23:18:46 +00:00
|
|
|
--disable-mount \
|
|
|
|
--disable-fsck \
|
|
|
|
--enable-libuuid \
|
2010-01-11 11:18:26 +00:00
|
|
|
--disable-uuidd \
|
2010-10-02 23:18:46 +00:00
|
|
|
--disable-libblkid \
|
|
|
|
--disable-libmount \
|
|
|
|
--disable-nls \
|
|
|
|
--disable-rpath \
|
|
|
|
--disable-arch \
|
|
|
|
--disable-agetty \
|
|
|
|
--disable-cramfs \
|
|
|
|
--disable-switch \
|
|
|
|
--disable-pivot \
|
|
|
|
--disable-fallocate \
|
|
|
|
--disable-unshare \
|
|
|
|
--disable-elvtune \
|
|
|
|
--disable-init \
|
|
|
|
--disable-kill \
|
|
|
|
--disable-last \
|
|
|
|
--disable-mesg \
|
|
|
|
--disable-partx \
|
|
|
|
--disable-raw \
|
|
|
|
--disable-rename \
|
|
|
|
--disable-reset \
|
|
|
|
--disable-login-utils \
|
|
|
|
--disable-schedutils \
|
|
|
|
--disable-wall \
|
|
|
|
--disable-write \
|
|
|
|
--disable-chsh-only-listed \
|
|
|
|
--disable-login-chown-vcs \
|
|
|
|
--disable-login-stat-mail \
|
|
|
|
--disable-pg-bell \
|
|
|
|
--disable-require-password \
|
|
|
|
--disable-fs-paths-default \
|
|
|
|
--disable-fs-paths-extra \
|
|
|
|
--disable-use-tty-group \
|
|
|
|
--disable-makeinstall-chown \
|
|
|
|
--disable-makeinstall-setuid \
|
2010-01-11 11:18:26 +00:00
|
|
|
--without-libiconv-prefix \
|
|
|
|
--without-libintl-prefix \
|
2010-10-02 23:18:46 +00:00
|
|
|
--without-ncurses \
|
|
|
|
--without-slang \
|
|
|
|
--without-utempter \
|
|
|
|
--without-pam \
|
|
|
|
--without-selinux \
|
|
|
|
--without-audit \
|
2010-01-11 11:18:26 +00:00
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Host/Compile
|
2010-10-02 23:18:46 +00:00
|
|
|
$(MAKE) -C $(HOST_BUILD_DIR)/shlibs/uuid/src
|
2010-01-11 11:18:26 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Host/Install
|
2010-10-02 23:18:46 +00:00
|
|
|
$(MAKE) -C $(HOST_BUILD_DIR)/shlibs/uuid/src install
|
2010-01-11 11:18:26 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Host/Clean
|
2010-10-02 23:18:46 +00:00
|
|
|
-$(MAKE) -C $(HOST_BUILD_DIR)/shlibs/uuid/src uninstall
|
2010-01-11 11:18:26 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|