mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Hopefully fix all nearby style bugs that Bruce has mentioned.
This commit is contained in:
parent
6549999b97
commit
5f0c9ae10a
1 changed files with 8 additions and 8 deletions
|
|
@ -72,18 +72,18 @@ SHARED?= copies
|
|||
|
||||
INCS+= osreldate.h
|
||||
|
||||
osreldate.h: ${.CURDIR}/../sys/conf/newvers.sh \
|
||||
${.CURDIR}/../sys/sys/param.h \
|
||||
${.CURDIR}/Makefile
|
||||
osreldate.h: ${.CURDIR}/../sys/conf/newvers.sh ${.CURDIR}/../sys/sys/param.h \
|
||||
${.CURDIR}/Makefile
|
||||
@${ECHO} creating osreldate.h from newvers.sh
|
||||
@PARAMFILE=${.CURDIR}/../sys/sys/param.h; \
|
||||
MAKE=${MAKE} . ${.CURDIR}/../sys/conf/newvers.sh; \
|
||||
@MAKE=${MAKE}; \
|
||||
PARAMFILE=${.CURDIR}/../sys/sys/param.h; \
|
||||
. ${.CURDIR}/../sys/conf/newvers.sh; \
|
||||
echo "$$COPYRIGHT" > osreldate.h; \
|
||||
echo "#ifdef _KERNEL" >> osreldate.h; \
|
||||
echo '#error "<osreldate.h> cannot be used in the kernel, use <sys/param.h>"' >> osreldate.h; \
|
||||
echo "#error \"<osreldate.h> cannot be used in the kernel, use <sys/param.h>\"" >> osreldate.h; \
|
||||
echo "#else" >> osreldate.h; \
|
||||
echo \#'undef __FreeBSD_version' >> osreldate.h; \
|
||||
echo \#'define __FreeBSD_version' $$RELDATE >> osreldate.h; \
|
||||
echo "#undef __FreeBSD_version" >> osreldate.h; \
|
||||
echo "#define __FreeBSD_version $$RELDATE" >> osreldate.h; \
|
||||
echo "#endif" >> osreldate.h
|
||||
|
||||
.for i in ${LHDRS}
|
||||
|
|
|
|||
Loading…
Reference in a new issue