mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Transform from kernel file to userland source.
This commit is contained in:
parent
567145993f
commit
25255d7808
1 changed files with 5 additions and 1 deletions
|
|
@ -6,12 +6,16 @@
|
|||
PROG= pack
|
||||
NO_MAN=
|
||||
|
||||
CFLAGS= -include /usr/include/sys/limits.h \
|
||||
-include /usr/include/sys/syslog.h
|
||||
|
||||
all: regress
|
||||
|
||||
pack: pack.c convert.c
|
||||
|
||||
convert.c: ../../../sys/kern/kern_acct.c
|
||||
sed -n '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' $? >$@
|
||||
sed -n -e 's/log(/syslog(/g' \
|
||||
-e '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' $? >$@
|
||||
|
||||
regress: pack regress.t
|
||||
./regress.t
|
||||
|
|
|
|||
Loading…
Reference in a new issue