6 * Automatically generated
10 TMP=`${GREP} -e ^MENUSELECT_CFLAGS menuselect.makeopts | sed 's/MENUSELECT_CFLAGS\=//g' | sed 's/-D//g'`
13 if test "x${BUILDOPTS}" != "x" ; then
14 BUILDOPTS="${BUILDOPTS}, ${x}"
19 TMP=`${GREP} -e ^MENUSELECT_BUILD_DEPS menuselect.makeopts | sed 's/MENUSELECT_BUILD_DEPS\=//g'`
21 x2=`echo ${x} | tr a-z A-Z`
22 echo "#define AST_MODULE_${x2} 1"
24 if ${GREP} AST_DEVMODE makeopts | ${GREP} -q yes
26 echo "#define AST_DEVMODE 1"
27 TMP="${TMP} AST_DEVMODE"
30 case ${OSARCH} in # actually we should check build_os
32 BUILDSUM=`echo ${TMP} | md5 | cut -c1-32`
35 BUILDSUM=`echo ${TMP} | digest -a md5 | cut -c1-32`
38 BUILDSUM=`echo ${TMP} | md5sum | cut -c1-32`
42 echo "#define AST_BUILDOPT_SUM \"${BUILDSUM}\""
44 echo "#define AST_BUILDOPTS \"${BUILDOPTS}\""