summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2011-01-16 16:43:39 +0100
committerLukc <lukc@upyum.com>2011-01-16 16:43:39 +0100
commit04bbc2eab06ce4f5da0975ca34dd344b1ba13224 (patch)
treebbdb8aa8756002581fd3a9952faa8c480cc67ec9
parent62602dc130d852447468c0830871d475a56152e1 (diff)
downloadbase-04bbc2eab06ce4f5da0975ca34dd344b1ba13224.tar.gz
base-04bbc2eab06ce4f5da0975ca34dd344b1ba13224.tar.bz2
base-04bbc2eab06ce4f5da0975ca34dd344b1ba13224.tar.xz
base-04bbc2eab06ce4f5da0975ca34dd344b1ba13224.zip
Hum… peut-être qu’un jour uClibc fonctionnera.
-rw-r--r--uclibc/.footprint24
-rw-r--r--uclibc/Pkgfile7
2 files changed, 31 insertions, 0 deletions
diff --git a/uclibc/.footprint b/uclibc/.footprint
index bcddf60..17c2923 100644
--- a/uclibc/.footprint
+++ b/uclibc/.footprint
@@ -36,6 +36,8 @@ drwxr-xr-x root/root usr/include/bits/
-rw-r--r-- root/root usr/include/bits/environments.h
-rw-r--r-- root/root usr/include/bits/errno.h
-rw-r--r-- root/root usr/include/bits/fcntl.h
+-rw-r--r-- root/root usr/include/bits/fenv.h
+-rw-r--r-- root/root usr/include/bits/fenvinline.h
-rw-r--r-- root/root usr/include/bits/getopt.h
-rw-r--r-- root/root usr/include/bits/huge_val.h
-rw-r--r-- root/root usr/include/bits/huge_valf.h
@@ -120,6 +122,7 @@ drwxr-xr-x root/root usr/include/bits/
-rw-r--r-- root/root usr/include/error.h
-rw-r--r-- root/root usr/include/fcntl.h
-rw-r--r-- root/root usr/include/features.h
+-rw-r--r-- root/root usr/include/fenv.h
-rw-r--r-- root/root usr/include/fnmatch.h
-rw-r--r-- root/root usr/include/fpu_control.h
-rw-r--r-- root/root usr/include/getopt.h
@@ -158,6 +161,7 @@ drwxr-xr-x root/root usr/include/neteconet/
-rw-r--r-- root/root usr/include/neteconet/ec.h
drwxr-xr-x root/root usr/include/netinet/
-rw-r--r-- root/root usr/include/netinet/ether.h
+-rw-r--r-- root/root usr/include/netinet/icmp6.h
-rw-r--r-- root/root usr/include/netinet/if_ether.h
-rw-r--r-- root/root usr/include/netinet/if_fddi.h
-rw-r--r-- root/root usr/include/netinet/if_tr.h
@@ -165,6 +169,7 @@ drwxr-xr-x root/root usr/include/netinet/
-rw-r--r-- root/root usr/include/netinet/in.h
-rw-r--r-- root/root usr/include/netinet/in_systm.h
-rw-r--r-- root/root usr/include/netinet/ip.h
+-rw-r--r-- root/root usr/include/netinet/ip6.h
-rw-r--r-- root/root usr/include/netinet/ip_icmp.h
-rw-r--r-- root/root usr/include/netinet/tcp.h
-rw-r--r-- root/root usr/include/netinet/udp.h
@@ -176,6 +181,7 @@ drwxr-xr-x root/root usr/include/netpacket/
-rw-r--r-- root/root usr/include/obstack.h
-rw-r--r-- root/root usr/include/paths.h
-rw-r--r-- root/root usr/include/poll.h
+-rw-r--r-- root/root usr/include/printf.h
drwxr-xr-x root/root usr/include/protocols/
-rw-r--r-- root/root usr/include/protocols/routed.h
-rw-r--r-- root/root usr/include/protocols/rwhod.h
@@ -184,7 +190,23 @@ drwxr-xr-x root/root usr/include/protocols/
-rw-r--r-- root/root usr/include/pty.h
-rw-r--r-- root/root usr/include/pwd.h
-rw-r--r-- root/root usr/include/regex.h
+-rw-r--r-- root/root usr/include/regexp.h
-rw-r--r-- root/root usr/include/resolv.h
+drwxr-xr-x root/root usr/include/rpc/
+-rw-r--r-- root/root usr/include/rpc/auth.h
+-rw-r--r-- root/root usr/include/rpc/auth_des.h
+-rw-r--r-- root/root usr/include/rpc/auth_unix.h
+-rw-r--r-- root/root usr/include/rpc/clnt.h
+-rw-r--r-- root/root usr/include/rpc/netdb.h
+-rw-r--r-- root/root usr/include/rpc/pmap_clnt.h
+-rw-r--r-- root/root usr/include/rpc/pmap_prot.h
+-rw-r--r-- root/root usr/include/rpc/pmap_rmt.h
+-rw-r--r-- root/root usr/include/rpc/rpc.h
+-rw-r--r-- root/root usr/include/rpc/rpc_msg.h
+-rw-r--r-- root/root usr/include/rpc/svc.h
+-rw-r--r-- root/root usr/include/rpc/svc_auth.h
+-rw-r--r-- root/root usr/include/rpc/types.h
+-rw-r--r-- root/root usr/include/rpc/xdr.h
-rw-r--r-- root/root usr/include/sched.h
drwxr-xr-x root/root usr/include/scsi/
-rw-r--r-- root/root usr/include/scsi/scsi.h
@@ -255,6 +277,7 @@ drwxr-xr-x root/root usr/include/sys/
-rw-r--r-- root/root usr/include/sys/sysmacros.h
-rw-r--r-- root/root usr/include/sys/termios.h
-rw-r--r-- root/root usr/include/sys/time.h
+-rw-r--r-- root/root usr/include/sys/timeb.h
-rw-r--r-- root/root usr/include/sys/timerfd.h
-rw-r--r-- root/root usr/include/sys/times.h
-rw-r--r-- root/root usr/include/sys/timex.h
@@ -287,6 +310,7 @@ drwxr-xr-x root/root usr/include/sys/
-rw-r--r-- root/root usr/include/values.h
-rw-r--r-- root/root usr/include/wait.h
-rw-r--r-- root/root usr/include/wchar.h
+-rw-r--r-- root/root usr/include/wctype.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/Scrt1.o
-rw-r--r-- root/root usr/lib/crt1.o
diff --git a/uclibc/Pkgfile b/uclibc/Pkgfile
index 74f9884..49b5d64 100644
--- a/uclibc/Pkgfile
+++ b/uclibc/Pkgfile
@@ -25,6 +25,7 @@ grep -v '<' | sort -k3 | tail -n 1"
license=LGPL
function build {
+ local UCLIBC_MAKE_OPTS=
if [[ "$CROSS" = yes ]]; then
UCLIBC_CROSS=${CHOST}-
fi
@@ -46,6 +47,12 @@ function build {
# Installation dans un $prefix… standard ?
sed -i -e "s:^RUNTIME_PREFIX=.*:RUNTIME_PREFIX=\"\":" .config
sed -i -e "s:^DEVEL_PREFIX=.*:DEVEL_PREFIX=\"$prefix\":" .config
+ # XXX: Volé de Gentoo, mais insuffisant. Il faut voler plus de code
+ # pour que ça marche mieux.
+ for def in UCLIBC_HAS_IPV6 MALLOC_GLIBC_COMPAT DO_C99_MATH UCLIBC_HAS_{RPC,FULL_RPC,CTYPE_CHECKED,WCHAR,HEXADECIMAL_FLOATS,GLIBC_CUSTOM_PRINTF,FOPEN_EXCLUSIVE_MODE,GLIBC_CUSTOM_STREAMS,PRINTF_M_SPEC,FTW} UCLIBC_HAS_REENTRANT_RPC UCLIBC_HAS_GNU_GLOB PTHREADS_DEBUG_SUPPORT UCLIBC_HAS_TZ_FILE_READ_MANY UCLIBC_HAS_FENV UCLIBC_SUSV3_LEGACY UCLIBC_SUSV3_LEGACY_MACROS UCLIBC_HAS_PROGRAM_INVOCATION_NAME ; do
+ sed -i -e "s/^${def}=.*/${def}=y/;s/# ${def} is not set/${def}=y/" .config
+ done
+ yes "" | gmake oldconfig
gmake CROSS=${UCLIBC_CROSS} DESTDIR=$PKG install
}