freebsd-src/sys/modules/genet/Makefile
Lexi Winter 2cf0c51793 genet: add module (if_genet.ko)
The driver already had the appropriate module macros, it just wasn't
hooked into the build system.

Since this device is specific to the Raspberry Pi 4, only build it for
AArch64.

Reviewed by: imp, emaste (earlier version)
Pull Request: https://github.com/freebsd/freebsd-src/pull/1139
2024-04-12 15:54:32 -06:00

10 lines
218 B
Makefile

.PATH: ${SRCTOP}/sys/arm64/broadcom/genet
KMOD= if_genet
SRCS= if_genet.c
SRCS+= bus_if.h device_if.h gpio_if.h miibus_if.h ofw_bus_if.h syscon_if.h
SRCS+= opt_device_polling.h opt_platform.h
.include <bsd.kmod.mk>