3982006ed5
Having these compiled into the module causes the kobj method descriptors to be resolved incorrectly (by the compile-time linker instead of the kernel linker), which then leads to hours of frustrating debugging.
19 lines
216 B
Makefile
19 lines
216 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/flash
|
|
|
|
KMOD= at45d
|
|
SRCS= at45d.c
|
|
|
|
# Generated files...
|
|
SRCS+= \
|
|
bus_if.h \
|
|
device_if.h \
|
|
spibus_if.h \
|
|
|
|
.if !empty(OPT_FDT)
|
|
SRCS+= ofw_bus_if.h
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|