OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.4 KiB

  1. #!/bin/sh
  2. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. #
  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
  9. #
  10. # More information can be found in the files COPYING and README.
  11. #
  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 ---
  17. if [ "$SDECFG_LIBC" == "dietlibc" ]; then
  18. SDECFGSET_DIETLIBC=1
  19. fi
  20. if pkgcheck dietlibc X
  21. then
  22. comment 'Dietlibc Options'
  23. bool 'Enable dietlibc support' SDECFG_DIETLIBC 0
  24. if [ $SDECFG_DIETLIBC = 1 ] ; then
  25. menu_begin MENU_PKG_DIETLIBC_FEATURES 'Special features'
  26. bool 'WANT_SYSENTER' \
  27. SDECFG_DIETWANT_SYSENTER 1
  28. menu_end
  29. bool 'Link binaries dynamically with dietlibc' \
  30. SDECFG_DIETLIBC_DYN 0
  31. if [ $SDECFG_LIBC != dietlibc ]; then
  32. block_begin 2
  33. pkgout
  34. for i in `grep " DIETLIBC " $cfgtmpdir/config/packages | \
  35. cut -f5 -d" " | sort`
  36. do
  37. x="${i//-/_}" ; x="${x//+/_}"
  38. bool "Build package with dietlibc: $i" \
  39. "SDECFG_DIETLIBC_${x}" 0
  40. done
  41. block_end
  42. fi
  43. fi
  44. comment ' '
  45. fi