OpenSDE Framework (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.

56 lines
1.8 KiB

  1. #!/bin/sh
  2. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. #
  5. # Filename: target/generic/config.in
  6. # Copyright (C) 2006 - 2007 The OpenSDE Project
  7. # Copyright (C) 2004 - 2006 The T2 SDE Project
  8. #
  9. # More information can be found in the files COPYING and README.
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; version 2 of the License. A copy of the
  14. # GNU General Public License can be found in the file COPYING.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. #Description: Generic System
  17. SDECFGSET_DIETLIBC='1'
  18. SDECFGSET_DIETLIBC_pdksh='1'
  19. SDECFGSET_DIETLIBC_module_init_tools='1'
  20. SDECFGSET_DIETLIBC_modutils='1'
  21. SDECFGSET_DIETLIBC_udev='1'
  22. SDECFGSET_DIETLIBC_embutils='1'
  23. SDECFGSET_DIETLIBC_fget='1'
  24. SDECFGSET_DIETLIBC_ipconfig='1'
  25. SDECFGSET_DIETLIBC_hotplug__=1
  26. SDECFGSET_DIETLIBC_minised='1'
  27. SDECFGSET_DIETLIBC_disktype='1'
  28. choice SDECFG_PKGSEL_TPL none none 'No package preselection template' \
  29. $( cd target/$SDECFG_TARGET/pkgsel;
  30. grep -H "^# *Description *: " *.choice | tr ' ' '_' |
  31. sed -e 's,^[0-9][0-9]*-,,' \
  32. -e 's,\.choice:#_*Description_*:_, ,' )
  33. # Apply template
  34. if [ "$SDECFG_PKGSEL_TPL" != none ]; then
  35. if [ ! -f $cfgtmpdir/pkgsel.$SDECFG_PKGSEL_TPL.awk ]; then
  36. cat <<-EOT > $cfgtmpdir/pkgsel.$SDECFG_PKGSEL_TPL.awk
  37. # created from '$SDECFG_PKGSEL_TPL' template
  38. #
  39. EOT
  40. lib/sde-config/pkgsel2awk.sh \
  41. $( ls -1 target/$target/pkgsel/{[0-9][0-9]-,}$SDECFG_PKGSEL_TPL.choice 2> /dev/null ) \
  42. >> $cfgtmpdir/pkgsel.$SDECFG_PKGSEL_TPL.awk
  43. fi
  44. pkgfilter awk -f $cfgtmpdir/pkgsel.$SDECFG_PKGSEL_TPL.awk
  45. if [ -f target/$SDECFG_TARGET/pkgsel/$SDECFG_PKGSEL_TPL.conf ]; then
  46. . target/$SDECFG_TARGET/pkgsel/$SDECFG_PKGSEL_TPL.conf
  47. fi
  48. fi