svn commit: branches/uClibc-nptl: extra/scripts include include/protocols etc...
aldot at uclibc.org
aldot at uclibc.org
Wed Jan 21 22:22:41 UTC 2009
Author: aldot
Date: 2009-01-21 22:22:39 +0000 (Wed, 21 Jan 2009)
New Revision: 24947
Log:
- pull r24946 from trunk (remove unavailable functionality; psm)
Modified:
branches/uClibc-nptl/Makefile.in
branches/uClibc-nptl/extra/scripts/conf-header.sh
branches/uClibc-nptl/include/features.h
branches/uClibc-nptl/include/netdb.h
branches/uClibc-nptl/include/protocols/timed.h
branches/uClibc-nptl/libc/sysdeps/linux/common/bits/types.h
Changeset:
Modified: branches/uClibc-nptl/Makefile.in
===================================================================
--- branches/uClibc-nptl/Makefile.in 2009-01-21 22:21:40 UTC (rev 24946)
+++ branches/uClibc-nptl/Makefile.in 2009-01-21 22:22:39 UTC (rev 24947)
@@ -218,6 +218,13 @@
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/uClibc_uintmaxtostr.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/kernel_sigaction.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/kernel_stat.h
+ $(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/kernel_types.h
+ $(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/utmpx.h
+ $(RM) $(PREFIX)$(DEVEL_PREFIX)include/atomic.h
+ $(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/atomic.h
+ $(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/sigcontextinfo.h
+ $(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/stackinfo.h
+ $(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/uClibc_arch_features.h
ifneq ($(UCLIBC_HAS_FLOATS),y)
# Remove floating point related headers since float support is disabled.
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/complex.h
@@ -226,6 +233,7 @@
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/math.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/tgmath.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/uClibc_fpmax.h
+ $(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/math*.h
endif
ifneq ($(UCLIBC_HAS_FENV),y)
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/fenv.h \
@@ -289,6 +297,7 @@
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/*thread*.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/semaphore.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/*thread*.h
+ $(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/initspin.h
endif
ifneq ($(HAVE_SHARED),y)
# Remove dlfcn header if we don't have shared libraries.
@@ -311,6 +320,7 @@
# Remove timeb.h since the LEGACY ftime() was disabled upon request
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/timeb.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/ucontext.h
+ $(RM) $(PREFIX)$(DEVEL_PREFIX)include/regexp.h
endif
ifneq ($(UCLIBC_HAS_EPOLL),y)
# Remove epoll.h since epoll_*() were disabled upon request
@@ -339,6 +349,7 @@
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/swap.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/sysctl.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/vfs.h
+ $(RM) ${PREFIX}$(DEVEL_PREFIX)include/sys/sysinfo.h
endif
ifneq ($(UCLIBC_SV4_DEPRECATED),y)
# Remove ustat.h since deprecated SV4 support was disabled upon request
@@ -346,20 +357,13 @@
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/ustat.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/ustat.h
endif
-ifeq ($(UCLIBC_HAS_REALTIME)$(UCLIBC_HAS_ADVANCED_REALTIME),)
- # Remove SUSv-realtime related message-queue headers upon request
+ifneq ($(UCLIBC_HAS_REALTIME),y)
+ # Remove SUSv-realtime related headers upon request
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/mqueue.h
- $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/mqueue.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/mqueue.h
-endif
-ifneq ($(UCLIBC_HAS_REALTIME),y)
- # Remove SUSv-realtime related headers upon request
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/sched.h
- $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/sched.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/sched.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/semaphore.h
- $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/semaphore.h
- $(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/semaphore.h
endif
ifneq ($(UCLIBC_HAS_SOCKET),y)
# Remove socket related headers upon request
@@ -375,6 +379,20 @@
# Remove ifaddrs.h since the corresponding functionality is disabled
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/ifaddrs.h
endif
+ifneq ($(UCLIBC_HAS_SYSLOG),y)
+ # Remove syslog.h since the corresponding functionality is disabled
+ $(RM) $(PREFIX)$(DEVEL_PREFIX)include/syslog.h
+ $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/syslog.h
+ $(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/syslog*.h
+endif
+ifneq ($(UCLIBC_HAS_RPC),y)
+ $(RM) -r $(PREFIX)$(DEVEL_PREFIX)include/rpc
+endif
+ifneq ($(UCLIBC_HAS_IPV6),y)
+ # Remove IPv6 headers since the corresponding functionality is disabled
+ $(RM) $(PREFIX)$(DEVEL_PREFIX)include/netinet/ip6.h
+ $(RM) $(PREFIX)$(DEVEL_PREFIX)include/netinet/icmp6.h
+endif
# Installs development library links.
install_dev: install_headers all
Modified: branches/uClibc-nptl/extra/scripts/conf-header.sh
===================================================================
--- branches/uClibc-nptl/extra/scripts/conf-header.sh 2009-01-21 22:21:40 UTC (rev 24946)
+++ branches/uClibc-nptl/extra/scripts/conf-header.sh 2009-01-21 22:22:39 UTC (rev 24947)
@@ -8,7 +8,7 @@
fi
cat <<EOF
-#if !defined __FEATURES_H && !defined __need_uClibc_config_h
+#if !defined _FEATURES_H && !defined __need_uClibc_config_h
# error Never include <bits/uClibc_config.h> directly; use <features.h> instead
#endif
Modified: branches/uClibc-nptl/include/features.h
===================================================================
--- branches/uClibc-nptl/include/features.h 2009-01-21 22:21:40 UTC (rev 24946)
+++ branches/uClibc-nptl/include/features.h 2009-01-21 22:22:39 UTC (rev 24947)
@@ -34,7 +34,9 @@
#define __need_uClibc_config_h
#include <bits/uClibc_config.h>
#undef __need_uClibc_config_h
+#ifdef UCLIBC_INTERNAL
#include <bits/uClibc_arch_features.h>
+#endif
/* For uClibc, always optimize for size -- this should disable
* a lot of expensive inlining...
Modified: branches/uClibc-nptl/include/netdb.h
===================================================================
--- branches/uClibc-nptl/include/netdb.h 2009-01-21 22:21:40 UTC (rev 24946)
+++ branches/uClibc-nptl/include/netdb.h 2009-01-21 22:22:39 UTC (rev 24947)
@@ -27,7 +27,7 @@
#include <netinet/in.h>
#include <stdint.h>
-#ifdef __USE_MISC
+#if defined __USE_MISC && defined __UCLIBC_HAS_RPC__
/* This is necessary to make this include file properly replace the
Sun version. */
# include <rpc/netdb.h>
Modified: branches/uClibc-nptl/include/protocols/timed.h
===================================================================
--- branches/uClibc-nptl/include/protocols/timed.h 2009-01-21 22:21:40 UTC (rev 24946)
+++ branches/uClibc-nptl/include/protocols/timed.h 2009-01-21 22:22:39 UTC (rev 24947)
@@ -32,7 +32,9 @@
#ifndef _PROTOCOLS_TIMED_H
#define _PROTOCOLS_TIMED_H 1
+#ifdef __UCLIBC_HAS_RPC__
#include <rpc/types.h>
+#endif
/*
* Time Synchronization Protocol
Modified: branches/uClibc-nptl/libc/sysdeps/linux/common/bits/types.h
===================================================================
--- branches/uClibc-nptl/libc/sysdeps/linux/common/bits/types.h 2009-01-21 22:21:40 UTC (rev 24946)
+++ branches/uClibc-nptl/libc/sysdeps/linux/common/bits/types.h 2009-01-21 22:22:39 UTC (rev 24947)
@@ -29,7 +29,9 @@
#define __need_size_t
#include <stddef.h>
+#ifdef UCLIBC_INTERNAL
#include <bits/kernel_types.h>
+#endif
/* Convenience types. */
typedef unsigned char __u_char;
@@ -198,8 +200,10 @@
#undef __STD_TYPE
+#ifdef UCLIBC_INTERNAL
/* Used in `struct shmid_ds'. */
typedef __kernel_ipc_pid_t __ipc_pid_t;
+#endif
/* Now add the thread types. */
#if defined __UCLIBC_HAS_THREADS__ && (defined __USE_POSIX199506 || defined __USE_UNIX98)
More information about the uClibc-cvs
mailing list