diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-25 21:13:21 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-25 21:13:21 +0100 |
commit | 02e9bb0970ba681f228dc642b1e5026cc97047c7 (patch) | |
tree | 3521f7ffac2ffbb868e88fbaff85018b5fee54a5 /package/nfs-utils | |
parent | 23153b00979f7e0e6b1dee395db7215185ba501b (diff) |
simplify buildsystem
- remove ADK_IPV6, ADK_CXX and ADK_X11
- enable ipv6 by default in uclibc
- enable build of c++ compiler by default
Diffstat (limited to 'package/nfs-utils')
-rw-r--r-- | package/nfs-utils/Config.in | 2 | ||||
-rw-r--r-- | package/nfs-utils/Makefile | 20 |
2 files changed, 8 insertions, 14 deletions
diff --git a/package/nfs-utils/Config.in b/package/nfs-utils/Config.in index 0b400090a..7c046ad4b 100644 --- a/package/nfs-utils/Config.in +++ b/package/nfs-utils/Config.in @@ -5,7 +5,7 @@ config ADK_PACKAGE_NFS_UTILS select ADK_PACKAGE_PORTMAP select ADK_KPACKAGE_KMOD_NFSD select ADK_KPACKAGE_KMOD_NFS_FS - select ADK_PACKAGE_LIBTIRPC if ADK_IPV6 + select ADK_PACKAGE_LIBTIRPC depends on !ADK_TARGET_ROOTFS_NFSROOT help NFS server utilities (namely, exportfs), and an NFS server. diff --git a/package/nfs-utils/Makefile b/package/nfs-utils/Makefile index 425810fc5..0b4090cca 100644 --- a/package/nfs-utils/Makefile +++ b/package/nfs-utils/Makefile @@ -9,7 +9,7 @@ PKG_RELEASE:= 1 PKG_MD5SUM:= 779cf81044e92cb51ad590960e7b3671 PKG_DESCR:= Utilities for NFS kernel server implementation PKG_SECTION:= net -PKG_DEPENDS:= portmap +PKG_DEPENDS:= portmap libtirpc PKG_URL:= http://sourceforge.net/projects/nfs PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=nfs/} @@ -25,13 +25,9 @@ ifeq ($(ADK_COMPILE_NFS_UTILS_WITH_HEIMDAL),y) PKG_DEPENDS+= heimdal-libs libevent libnfsidmap librpcsecgss libcom_err endif -ifeq (${ADK_IPV6},y) -PKG_DEPENDS+= libtirpc -endif - $(eval $(call PKG_template,NFS_UTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -CONFIGURE_STYLE= autotool gnu +TCPPFLAGS+= -I${LINUX_DIR}/include ifeq ($(ADK_COMPILE_NFS_UTILS_WITH_KRB5),y) CONFIGURE_ARGS+= --enable-nfsv4 \ @@ -55,15 +51,13 @@ endif CONFIGURE_ENV+= knfsd_cv_bsd_signals=no \ ac_cv_lib_nsl_gethostbyname=no CONFIGURE_ARGS+= --without-tcp-wrappers \ + --enable-tirpc \ + --with-tirpcinclude=${STAGING_DIR}/usr/include/tirpc \ --disable-uuid -BUILD_STYLE= auto -INSTALL_STYLE= auto -TCPPFLAGS+= -I${LINUX_DIR}/include -ifeq (${ADK_IPV6},y) -CONFIGURE_ARGS+= --enable-tirpc \ - --with-tirpcinclude=${STAGING_DIR}/usr/include/tirpc -endif +CONFIGURE_STYLE:= autotool gnu +BUILD_STYLE:= auto +INSTALL_STYLE:= auto post-install: ${INSTALL_DIR} ${IDIR_NFS_UTILS}/usr/sbin |