|
|
|
#!/bin/sh
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../uclibc/subconfig-libc-300.in
|
|
|
|
# Copyright (C) 2010 - 2011 The OpenSDE Project
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; version 2 of the License. A copy of the
|
|
|
|
# GNU General Public License can be found in the file COPYING.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
# uclibc and glibc don't cohexist in our approach //mnemoc
|
|
|
|
if [ "$SDECFG_LIBC" == "uclibc" ]; then
|
|
|
|
pkgremove glibc
|
|
|
|
|
|
|
|
comment 'uClibc options'
|
|
|
|
|
|
|
|
comment ' '
|
|
|
|
|
|
|
|
comment 'Thread support:'
|
|
|
|
choice SDECFG_PKG_UCLIBC_THREADSUPPORT old \
|
|
|
|
none "disable thread support" \
|
|
|
|
old "use older version of linuxthreads (stable)" \
|
|
|
|
new "use slightly newer version of linuxthreads (not much tested)" \
|
|
|
|
nptl "Native POSIX Threading (NPTL) (experimental)"
|
|
|
|
|
|
|
|
|
|
|
|
comment ' '
|
|
|
|
|
|
|
|
comment 'Legacy feature support:'
|
|
|
|
bool 'Enable SuSv3 LEGACY functions' SDECFG_PKG_UCLIBC_SUSV3_LEGACY 0
|
|
|
|
bool 'Enable SuSv4 LEGACY or obsolescent functions' SDECFG_PKG_UCLIBC_SUSV4_LEGACY 0
|
|
|
|
fi
|