mirror of
https://github.com/opnsense/src.git
synced 2026-02-23 09:56:47 -05:00
2782ed8f6cfixed the standalone module build. REmove the now duplicate includes for opt_acpi.h and opt_platform.h. Als remove the if_mdio.h again in both the Makefile and the implementation file as it is not (currently) used. X-MFC with:ba7319e909MFC after: 70 days
42 lines
810 B
Makefile
42 lines
810 B
Makefile
.PATH: ${SRCTOP}/sys/dev/dpaa2
|
|
|
|
KMOD= dpaa2
|
|
|
|
SRCS= dpaa2_mc.c
|
|
SRCS+= dpaa2_rc.c
|
|
SRCS+= dpaa2_io.c
|
|
SRCS+= dpaa2_bp.c
|
|
SRCS+= dpaa2_ni.c
|
|
SRCS+= dpaa2_mcp.c
|
|
SRCS+= dpaa2_swp.c
|
|
SRCS+= dpaa2_mac.c
|
|
SRCS+= dpaa2_con.c
|
|
|
|
SRCS+= dpaa2_cmd_if.c dpaa2_cmd_if.h
|
|
SRCS+= dpaa2_swp_if.c dpaa2_swp_if.h
|
|
SRCS+= dpaa2_mc_if.c dpaa2_mc_if.h
|
|
SRCS+= memac_mdio_common.c memac_mdio_if.c memac_mdio_if.h
|
|
|
|
SRCS+= bus_if.h device_if.h miibus_if.h
|
|
SRCS+= pcib_if.h pci_if.h
|
|
SRCS+= opt_acpi.h opt_platform.h
|
|
|
|
.if !empty(OPT_ACPI)
|
|
SRCS+= dpaa2_mc_acpi.c \
|
|
memac_mdio_acpi.c \
|
|
acpi_if.h \
|
|
acpi_bus_if.h
|
|
.endif
|
|
|
|
.if !empty(OPT_FDT)
|
|
SRCS+= dpaa2_mc_fdt.c \
|
|
memac_mdio_fdt.c \
|
|
ofw_bus_if.h
|
|
.endif
|
|
|
|
MFILES= dev/dpaa2/dpaa2_cmd_if.m \
|
|
dev/dpaa2/dpaa2_swp_if.m \
|
|
dev/dpaa2/dpaa2_mc_if.m \
|
|
dev/dpaa2/memac_mdio_if.m
|
|
|
|
.include <bsd.kmod.mk>
|