diff options
| author | Attilio Rao <attilio@FreeBSD.org> | 2011-05-14 01:53:38 +0000 |
|---|---|---|
| committer | Attilio Rao <attilio@FreeBSD.org> | 2011-05-14 01:53:38 +0000 |
| commit | 4b547324c0a839a0ecd067638686112f6f7cc11e (patch) | |
| tree | 7673b284ad690bef683dca3bdfe5aeb355305893 /sys/modules | |
| parent | 307abf289deb5a0c0c0fa0b69df95964759ba31b (diff) | |
Notes
Diffstat (limited to 'sys/modules')
| -rw-r--r-- | sys/modules/mem/Makefile | 14 | ||||
| -rw-r--r-- | sys/modules/uart/Makefile | 4 |
2 files changed, 1 insertions, 17 deletions
diff --git a/sys/modules/mem/Makefile b/sys/modules/mem/Makefile index 952f50f1ca265..3710c5dca6308 100644 --- a/sys/modules/mem/Makefile +++ b/sys/modules/mem/Makefile @@ -14,18 +14,4 @@ SRCS+= amd64_mem.c .endif SRCS+= bus_if.h device_if.h -.if ${MACHINE} == "sun4v" -SRCS+= opt_global.h - -.if defined(KERNBUILDDIR) -MKDEP= -include ${KERNBUILDDIR}/opt_global.h -.else -CFLAGS+= -include opt_global.h -MKDEP= -include opt_global.h - -opt_global.h: - echo "#define SUN4V 1" > ${.TARGET} -.endif -.endif - .include <bsd.kmod.mk> diff --git a/sys/modules/uart/Makefile b/sys/modules/uart/Makefile index 1a5ce4436da5f..9afb86cf80b8b 100644 --- a/sys/modules/uart/Makefile +++ b/sys/modules/uart/Makefile @@ -14,9 +14,7 @@ SRCS= uart_bus_acpi.c ${uart_bus_ebus} uart_bus_isa.c uart_bus_pccard.c \ uart_dev_ns8250.c uart_dev_quicc.c uart_dev_sab82532.c \ uart_dev_z8530.c \ uart_if.c uart_if.h uart_subr.c uart_tty.c -.if ${MACHINE} == "sun4v" -SRCS+= uart_cpu_sparc64.c -.elif exists(${.CURDIR}/../../dev/uart/uart_cpu_${MACHINE}.c) +.if exists(${.CURDIR}/../../dev/uart/uart_cpu_${MACHINE}.c) SRCS+= uart_cpu_${MACHINE}.c .endif SRCS+= bus_if.h card_if.h device_if.h isa_if.h ${ofw_bus_if} pci_if.h \ |
