diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2012-04-08 15:56:29 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2012-04-08 15:56:29 +0000 |
commit | e3ab6f454b110890e362185c197f1139591a395c (patch) | |
tree | 8fbf4fcc338c6a009f8ccda2d7fe0962616ef01d /share/mk/bsd.lkm.mk | |
parent | 8bcbd4f3537989e7ebdd06ef77e10172c6e60944 (diff) |
unhook lint from the tree. The parser is incomplete and difficult
to fix and there are several alternatives that don't tell quite so many
dangerous lies.
enthusiastic agreement from a bunch of people
Diffstat (limited to 'share/mk/bsd.lkm.mk')
-rw-r--r-- | share/mk/bsd.lkm.mk | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/share/mk/bsd.lkm.mk b/share/mk/bsd.lkm.mk index fc64ad21e58..6a07f8f1e4d 100644 --- a/share/mk/bsd.lkm.mk +++ b/share/mk/bsd.lkm.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.lkm.mk,v 1.22 2011/07/16 23:34:21 guenther Exp $ +# $OpenBSD: bsd.lkm.mk,v 1.23 2012/04/08 15:56:28 jsg Exp $ .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" @@ -29,7 +29,6 @@ LDFLAGS+= -r SRCS?= ${LKM}.c .if !empty(SRCS:N*.h:N*.sh) OBJS+= ${SRCS:N*.h:N*.sh:R:S/$/.o/} -LOBJS+= ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.ln} .endif COMBINED?=combined.o .if !defined(POSTINSTALL) @@ -54,7 +53,7 @@ all: ${COMBINED} _SUBDIRUSE .if !target(clean) clean: _SUBDIRUSE rm -f a.out [Ee]rrs mklog core *.core \ - ${LKM} ${COMBINED} ${OBJS} ${LOBJS} ${CLEANFILES} + ${LKM} ${COMBINED} ${OBJS} ${CLEANFILES} .endif cleandir: _SUBDIRUSE clean @@ -106,13 +105,6 @@ afterinstall: realinstall realinstall: beforeinstall .endif -.if !target(lint) -lint: ${LOBJS} -.if defined(LOBJS) && !empty(LOBJS) - @${LINT} ${LINTFLAGS} ${LDFLAGS:M-L*} ${LOBJS} ${LDADD} -.endif -.endif - .if !defined(NOMAN) .include <bsd.man.mk> .endif |