6 * Automatically generated
10 TMP
=`${GREP} -e ^MENUSELECT_CFLAGS menuselect.makeopts | sed 's/MENUSELECT_CFLAGS\=//g' | sed 's/-D//g'`
14 TMP
=`${GREP} -e ^MENUSELECT_BUILD_DEPS menuselect.makeopts | sed 's/MENUSELECT_BUILD_DEPS\=//g'`
16 x2
=`echo ${x} | tr a-z A-Z`
17 echo "#define AST_MODULE_${x2} 1"
19 if ${GREP} AST_DEVMODE makeopts |
${GREP} -q yes
21 echo "#define AST_DEVMODE 1"
22 TMP
="${TMP} AST_DEVMODE"
25 case ${OSARCH} in # actually we should check build_os
27 BUILDSUM
=`echo ${TMP} | md5 | cut -c1-32`
30 BUILDSUM
=`echo ${TMP} | digest -a md5 | cut -c1-32`
33 BUILDSUM
=`echo ${TMP} | md5sum | cut -c1-32`
37 echo "#define AST_BUILDOPT_SUM \"${BUILDSUM}\""