rendered paste bodyIndex: scripts/config.in
===================================================================
--- scripts/config.in (revisin: 14259)
+++ scripts/config.in (copia de trabajo)
@@ -68,7 +68,13 @@
comment_id '- Architecture, CPU and Optimization' COMMENT_ARCHCPUOPT
block_begin 7
- choice SDECFG_ARCH $SDECFG_ARCH $CFGTEMP_ARCHLIST
+ choice SDECFG_ARCH $SDECFG_ARCH $(
+ for x in architecture/*; do if [ -d $x -a $x != architecture/share ]; then
+ y="`grep '^#Description: ' $x/config.in 2> /dev/null | head -n 1 | cut -d' ' -f2- |
+ tr ' ' '_'`";
+ echo ${x#architecture/} ${y:-${x#architecture/}}
+ fi; done
+ )
SDECFG_ID="$SDECFG_ID-$SDECFG_ARCH"
if [ -f architecture/$SDECFG_ARCH/config.in ]