2 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
3 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
5 # Filename: package/.../dietlibc/subconfig-libc.in
6 # Copyright (C) 2006 The OpenSDE Project
7 # Copyright (C) 2004 - 2006 The T2 SDE Project
8 # Copyright (C) 1998 - 2004 Clifford Wolf
10 # More information can be found in the files COPYING and README.
12 # This program is free software; you can redistribute it and/or modify
13 # it under the terms of the GNU General Public License as published by
14 # the Free Software Foundation; version 2 of the License. A copy of the
15 # GNU General Public License can be found in the file COPYING.
16 # --- SDE-COPYRIGHT-NOTE-END ---
18 if [ "$SDECFG_LIBC" == "dietlibc" ]; then
22 if pkgcheck dietlibc X
24 comment
'Dietlibc Options'
25 bool
'Enable dietlibc support' SDECFG_DIETLIBC
0
26 if [ $SDECFG_DIETLIBC = 1 ] ; then
27 menu_begin MENU_PKG_DIETLIBC_FEATURES
'Special features'
28 bool
'WANT_SYSENTER' \
29 SDECFG_DIETWANT_SYSENTER
1
31 bool
'Link binaries dynamically with dietlibc' \
34 if [ $SDECFG_LIBC != dietlibc
]; then
37 for i
in `grep " DIETLIBC " $cfgtmpdir/config/packages | \
40 x
="${i//-/_}" ; x
="${x//+/_}"
41 bool
"Build package with dietlibc: $i" \
42 "SDECFG_DIETLIBC_${x}" 0