mirror of
https://github.com/opnsense/src.git
synced 2026-03-16 07:41:02 -04:00
Generate a second LINT configuration for i386 and amd64 in sys/conf/makeLINT.mk, which includes LINT and sets options VIMAGE so that we will have VIMAGE LINT builds. For now only do it for those two architectures to avoid massive universe times for archs, where people will less likely use VIMAGE or not at all.
19 lines
473 B
Makefile
19 lines
473 B
Makefile
# $FreeBSD$
|
|
|
|
all:
|
|
@echo "make LINT only"
|
|
|
|
clean:
|
|
rm -f LINT
|
|
.if ${TARGET} == "amd64" || ${TARGET} == "i386"
|
|
rm -f LINT-VIMAGE
|
|
.endif
|
|
|
|
NOTES= ../../conf/NOTES NOTES
|
|
LINT: ${NOTES} ../../conf/makeLINT.sed
|
|
cat ${NOTES} | sed -E -n -f ../../conf/makeLINT.sed > ${.TARGET}
|
|
.if ${TARGET} == "amd64" || ${TARGET} == "i386"
|
|
echo "include ${.TARGET}" > ${.TARGET}-VIMAGE
|
|
echo "ident ${.TARGET}-VIMAGE" >> ${.TARGET}-VIMAGE
|
|
echo "options VIMAGE" >> ${.TARGET}-VIMAGE
|
|
.endif
|