change the CFLAGS controlled by menuselect to be placed in a header file
[asterisk/asterisk.git] / build_tools / make_buildopts_h
1 #!/bin/sh
2
3 cat << END
4 /*
5  * buildopts.h 
6  * Automatically generated
7  */
8
9 END
10 TMP=`grep MENUSELECT_CFLAGS menuselect.makeopts | sed s/MENUSELECT_CFLAGS\=//g`
11 for x in ${TMP}; do
12      echo "#define ${x}"
13 done