Use BUILDSYMLINKS to avoid a compilation error where the source file

has the same name than the LKM.
This commit is contained in:
xtraeme 2007-11-20 21:47:34 +00:00
parent 166b860e06
commit da3a7579a9
2 changed files with 8 additions and 6 deletions

View File

@ -1,10 +1,11 @@
# $NetBSD: Makefile,v 1.2 2007/09/11 22:02:09 xtraeme Exp $
# $NetBSD: Makefile,v 1.3 2007/11/20 21:47:34 xtraeme Exp $
S= ${.CURDIR}/../../../..
.PATH: $S/dev/isa $S/dev/ic
KMOD= aps_isa
SRCS= aps.c lkm_isa.c
KMOD= aps
SRCS= real-aps.c lkm_isa.c
BUILDSYMLINKS+= aps.c real-aps.c
NOMAN= # yes
LKM_ISA_IO_PORT= 0x1600

View File

@ -1,10 +1,11 @@
# $NetBSD: Makefile,v 1.3 2007/09/09 13:52:23 xtraeme Exp $
# $NetBSD: Makefile,v 1.4 2007/11/20 21:47:34 xtraeme Exp $
S= ${.CURDIR}/../../../..
.PATH: $S/dev/isa
KMOD= smsc_isa
SRCS= smsc.c lkm_isa.c
KMOD= smsc
SRCS= real-smsc.c lkm_isa.c
BUILDSYMLINKS+= smsc.c real-smsc.c
NOMAN= # yes
LKM_ISA_IO_PORT= 0x02e