diff options
author | bde <bde@FreeBSD.org> | 2003-12-29 08:45:38 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2003-12-29 08:45:38 +0000 |
commit | 7572aecb448bfec7877680f1397da5aee1e9cdf7 (patch) | |
tree | 01ab62073eb5b79b1cf477a348d836b525ca38db /sys/modules/sio | |
parent | 615114a14c0e665d68b8111befb24adf772ed32d (diff) | |
download | FreeBSD-src-7572aecb448bfec7877680f1397da5aee1e9cdf7.zip FreeBSD-src-7572aecb448bfec7877680f1397da5aee1e9cdf7.tar.gz |
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.
Diffstat (limited to 'sys/modules/sio')
-rw-r--r-- | sys/modules/sio/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/sys/modules/sio/Makefile b/sys/modules/sio/Makefile index a028e81..9f24917 100644 --- a/sys/modules/sio/Makefile +++ b/sys/modules/sio/Makefile @@ -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> |