The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/modules/uart/Makefile

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # $FreeBSD$
    2 
    3 .PATH: ${SRCTOP}/sys/dev/uart
    4 
    5 .if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
    6     ${MACHINE_CPUARCH} == "i386"
    7 uart_bus_acpi=uart_bus_acpi.c
    8 uart_cpu_acpi=uart_cpu_acpi.c
    9 .endif
   10 
   11 .if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \
   12     ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "riscv"
   13 ofw_bus_if=     ofw_bus_if.h
   14 .endif
   15 
   16 .if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
   17 _uart_cpu=uart_cpu_x86.c
   18 .else
   19 _uart_cpu=uart_cpu_${MACHINE}.c
   20 .endif
   21 .if exists(${.CURDIR:H:H}/dev/uart/${_uart_cpu})
   22 uart_cpu_machine= ${_uart_cpu}
   23 .endif
   24 
   25 .if ${MACHINE} == "arm64"
   26 uart_dev_mvebu=uart_dev_mvebu.c
   27 .if !empty(OPT_FDT)
   28 uart_dev_mu=uart_dev_mu.c
   29 .endif
   30 .endif
   31 
   32 KMOD=   uart
   33 SRCS=   ${uart_bus_acpi} uart_bus_isa.c \
   34         uart_bus_pci.c uart_bus_puc.c uart_bus_scc.c \
   35         uart_core.c ${uart_cpu_acpi} ${uart_cpu_machine} uart_dbg.c \
   36         ${uart_dev_mvebu} uart_dev_ns8250.c ${uart_dev_mu} \
   37         uart_dev_quicc.c uart_dev_z8530.c \
   38         uart_if.c uart_if.h uart_subr.c uart_tty.c
   39 
   40 SRCS+=  acpi_if.h bus_if.h device_if.h isa_if.h ${ofw_bus_if} pci_if.h \
   41         serdev_if.h
   42 SRCS+=  opt_acpi.h opt_platform.h opt_uart.h
   43 
   44 .include <bsd.kmod.mk>

Cache object: c18deb24c7dd2178092e628990facec1


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.