3 echo "/* This file is autogenerated by" `basename $0` "*/"
5 echo "const name_func_link_t LayoutList[] ="
7 for file in ${top_srcdir}/layouts
/*.h
10 grep '^layout_t layout_' $file | cut
-d' ' -f2 | cut
-d\
; -f1 |
while read layout
12 shortname
=`echo $layout | cut -d _ -f2-`
13 echo " {\"$shortname\", $layout},"