Go to the documentation of this file.
4 echo
"Usage: $0 PATH\n"
5 echo
"You must specify the path where MODULES.h should be created."
6 echo
"For example, to make ../src/MODULES.h, use "
16 [ -z
"$module" ] &&
continue;
18 if [[
"$module" ==
'#'* ]];then
19 echo
"Ignoring: ${module}"
23 echo
"extern ANA_MODULE ${basename}_module;" >> ${
OUTFILE};
26 echo
"ANA_MODULE *trigger_module[] = {" >> ${
OUTFILE}
28 [ -z
"$module" ] &&
continue;
29 module=
"`tr -d '\r\n' <<<$module`"
30 if [[
"$module" ==
'#'* ]];then
34 echo
" &${basename}_module," >> ${
OUTFILE};