Fixed some style bugs:
- SRCS was totally disordered. - the echos to create options headers were hidden using '@'. - the args of echos to create options headers were single-quoted. - the target names for the rules to create options headers were repeated. - the unused option COMPAT_FREEBSD4 was put in opt_compat.h.
This commit is contained in:
parent
1c07192538
commit
8a1a7f65e2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123960
@ -6,10 +6,9 @@
|
||||
.PATH: ${.CURDIR}/../../dev/sio
|
||||
|
||||
KMOD= sio
|
||||
SRCS= sio.c sio_pccard.c sio_pci.c sio_puc.c
|
||||
SRCS+= opt_sio.h opt_ddb.h opt_compat.h opt_comconsole.h \
|
||||
bus_if.h card_if.h device_if.h isa_if.h pci_if.h
|
||||
|
||||
SRCS= bus_if.h card_if.h device_if.h isa_if.h pci_if.h \
|
||||
opt_comconsole.h opt_compat.h opt_ddb.h opt_sio.h \
|
||||
sio.c sio_pccard.c sio_pci.c sio_puc.c
|
||||
.if ${MACHINE} == "pc98"
|
||||
SRCS+= sio_cbus.c
|
||||
.else
|
||||
@ -21,13 +20,12 @@ SRCS+= sio_ebus.c
|
||||
.endif
|
||||
|
||||
opt_compat.h:
|
||||
@echo '#define COMPAT_43 1' > opt_compat.h
|
||||
@echo '#define COMPAT_FREEBSD4 1' >> opt_compat.h
|
||||
echo "#define COMPAT_43 1" > ${.TARGET}
|
||||
|
||||
.if ${MACHINE} == "pc98"
|
||||
opt_sio.h:
|
||||
@echo '#define COM_MULTIPORT 1' > opt_sio.h
|
||||
@echo '#define COM_ESP 1' >> opt_sio.h
|
||||
echo "#define COM_MULTIPORT 1" > ${.TARGET}
|
||||
echo "#define COM_ESP 1" >> ${.TARGET}
|
||||
.endif
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user