Build at45d and mx25l SPI flash drivers as modules.
This commit is contained in:
parent
63cdf4affb
commit
eb69d1f144
@ -2,6 +2,8 @@
|
||||
|
||||
SUBDIR = \
|
||||
../spigen \
|
||||
at45d \
|
||||
mx25l \
|
||||
spibus \
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
19
sys/modules/spi/at45d/Makefile
Normal file
19
sys/modules/spi/at45d/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${SRCTOP}/sys/dev/flash
|
||||
|
||||
KMOD= at45d
|
||||
SRCS= at45d.c
|
||||
|
||||
# Generated files...
|
||||
SRCS+= \
|
||||
bus_if.h \
|
||||
device_if.h \
|
||||
spibus_if.c \
|
||||
spibus_if.h \
|
||||
|
||||
.if !empty(OPT_FDT)
|
||||
SRCS+= ofw_bus_if.h
|
||||
.endif
|
||||
|
||||
.include <bsd.kmod.mk>
|
19
sys/modules/spi/mx25l/Makefile
Normal file
19
sys/modules/spi/mx25l/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${SRCTOP}/sys/dev/flash
|
||||
|
||||
KMOD= mx25l
|
||||
SRCS= mx25l.c
|
||||
|
||||
# Generated files...
|
||||
SRCS+= \
|
||||
bus_if.h \
|
||||
device_if.h \
|
||||
spibus_if.c \
|
||||
spibus_if.h \
|
||||
|
||||
.if !empty(OPT_FDT)
|
||||
SRCS+= ofw_bus_if.h
|
||||
.endif
|
||||
|
||||
.include <bsd.kmod.mk>
|
Loading…
Reference in New Issue
Block a user