mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Really fix this work to work. While rev 1.24 did allow awk to run w/o
complaining; the resulting output was useless.
This commit is contained in:
parent
a3413a232a
commit
37397b32c9
1 changed files with 3 additions and 3 deletions
|
|
@ -25,12 +25,12 @@ ioctl_includes=`
|
|||
egrep -v '^(netns)/' |
|
||||
xargs egrep -l \
|
||||
'^#[ ]*define[ ]+[A-Za-z_][A-Za-z0-9_]*[ ]+_IO[^a-z0-9_]' |
|
||||
sed -e 's/^/#include </' -e s'/$/>/'
|
||||
awk '{printf("#include <%s>\\\\n", $1)}'
|
||||
`
|
||||
|
||||
echo "$ioctl_includes" |
|
||||
awk -v x="$ioctl_includes" 'BEGIN {print x}' |
|
||||
gcc -E -I$1 -dM - |
|
||||
awk -v ioctl_includes="`echo $ioctl_includes`" -v use_switch="$use_switch" '
|
||||
awk -v ioctl_includes="$ioctl_includes" -v use_switch="$use_switch" '
|
||||
BEGIN {
|
||||
print "/* XXX obnoxious prerequisites. */"
|
||||
print "#define COMPAT_43"
|
||||
|
|
|
|||
Loading…
Reference in a new issue