09db2a8c67
Add support for getting/setting the am335x SoC's internal real time clock. Also, allow the power off alarm to be set. Make readclock an "always on" driver. This is needed for setting power-off alarms whenever the power button is pressed on the BBB. Replace the readclock.sh script & single run driver with a readclock program that takes the same arguments and forwards the requests on to the always up readclock driver. Change-Id: Ifd6c2acd80ae4b5e79d83df510df445c24e24a71
34 lines
756 B
Makefile
34 lines
756 B
Makefile
# Makefile for all device drivers.
|
|
#
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.if ${MKIMAGEONLY} == "yes"
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
SUBDIR= at_wini floppy log tty pci
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "earm"
|
|
SUBDIR= log tty
|
|
.endif
|
|
|
|
.else # ${MKIMAGEONLY} != "yes"
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
SUBDIR= ahci amddev atl2 at_wini audio dec21140A dp8390 dpeth \
|
|
e1000 fbd filter floppy fxp hello lance log mmc orinoco pci printer \
|
|
random readclock rtl8139 rtl8169 ti1225 tty vbox acpi \
|
|
virtio_blk virtio_net
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "earm"
|
|
SUBDIR= cat24c256 fb gpio i2c mmc log readclock tda19988 tty random lan8710a
|
|
.endif
|
|
|
|
.endif # ${MKIMAGEONLY} != "yes"
|
|
|
|
# memory driver must be last for ramdisk image
|
|
SUBDIR+= ramdisk .WAIT memory
|
|
|
|
.include <bsd.subdir.mk>
|