diff options
| author | jmmv <jmmv@NetBSD.org> | 2008-02-10 10:51:18 +0000 |
|---|---|---|
| committer | jmmv <jmmv@NetBSD.org> | 2008-02-10 10:51:18 +0000 |
| commit | d902e11647d73c674a1a2d7f5ffaed72f8ee350b (patch) | |
| tree | 527044b20f0266a0072c96c515051f1503219acd /sys/modules/example | |
| parent | 199fb5f4239d790d2168c0b618f4feb58b6fca47 (diff) | |
Let this build by using BUILDSYMLINKS to workaround a problem in bsd.kmod.mk
that prevents a source file to be named exactly as the final module. Thanks
to pooka@ and mrg@ for pointing out how to resolve this.
Also define NOMAN because there is no manual page here.
Diffstat (limited to 'sys/modules/example')
| -rw-r--r-- | sys/modules/example/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/modules/example/Makefile b/sys/modules/example/Makefile index f1fda91d447..4a1aaac3473 100644 --- a/sys/modules/example/Makefile +++ b/sys/modules/example/Makefile @@ -1,7 +1,12 @@ -# $NetBSD: Makefile,v 1.1 2008/01/16 12:34:56 ad Exp $ +# $NetBSD: Makefile,v 1.2 2008/02/10 10:51:18 jmmv Exp $ KMOD= example -SRCS= example.c +SRCS= real-example.c +# XXX A hack to workaround the fact that the final module is named +# example.o. To be removed once we change the extension of modules. +BUILDSYMLINKS= ${.CURDIR}/example.c real-example.c + +NOMAN= # defined .include <bsd.kmod.mk> |
