From d902e11647d73c674a1a2d7f5ffaed72f8ee350b Mon Sep 17 00:00:00 2001 From: jmmv Date: Sun, 10 Feb 2008 10:51:18 +0000 Subject: 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. --- sys/modules/example/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'sys/modules/example') 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 -- cgit