Tweak r320206: Still create the TABLE but not the .depend entry for missing headers.
X-MFC-With: r320206 MFC after: 3 days Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
18a2c7c74b
commit
a4cc310916
@ -65,18 +65,19 @@ gen_table()
|
|||||||
else
|
else
|
||||||
filter="egrep -v"
|
filter="egrep -v"
|
||||||
fi
|
fi
|
||||||
[ -e "${include_dir}/${file}" ] || return 0
|
|
||||||
all_headers="${all_headers:+${all_headers} }${file}"
|
|
||||||
cat <<_EOF_
|
cat <<_EOF_
|
||||||
TABLE_START(${name})
|
TABLE_START(${name})
|
||||||
_EOF_
|
_EOF_
|
||||||
egrep "^#[[:space:]]*define[[:space:]]+"${grep}"[[:space:]]*" \
|
if [ -e "${include_dir}/${file}" ]; then
|
||||||
$include_dir/$file | ${filter} ${excl} | \
|
all_headers="${all_headers:+${all_headers} }${file}"
|
||||||
awk '{ for (i = 1; i <= NF; i++) \
|
egrep "^#[[:space:]]*define[[:space:]]+"${grep}"[[:space:]]*" \
|
||||||
if ($i ~ /define/) \
|
$include_dir/$file | ${filter} ${excl} | \
|
||||||
break; \
|
awk '{ for (i = 1; i <= NF; i++) \
|
||||||
++i; \
|
if ($i ~ /define/) \
|
||||||
printf "TABLE_ENTRY(%s)\n", $i }'
|
break; \
|
||||||
|
++i; \
|
||||||
|
printf "TABLE_ENTRY(%s)\n", $i }'
|
||||||
|
fi
|
||||||
cat <<_EOF_
|
cat <<_EOF_
|
||||||
TABLE_END
|
TABLE_END
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user