diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2018-01-21 21:27:41 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2018-01-21 21:27:41 +0000 |
commit | 137a344c6341d1469432e9deb3a25593f96672ad (patch) | |
tree | 626c66537773f2a1941bf7b9f7b6d93100bb77ca /sys/modules/Makefile | |
parent | bdf16dd67c2e90c41bb35b4cc5395da329de8450 (diff) | |
download | src-137a344c6341d1469432e9deb3a25593f96672ad.tar.gz src-137a344c6341d1469432e9deb3a25593f96672ad.zip |
Rename rpi_pwm to bcm283x_pwm, and build it on armv[67] and arm64.
Truncate ratio if period is lowered.
Tested on Rpi2 and Rpi3.
Rpi3 requires DTB->DTS->edit->DTB hack
Notes
Notes:
svn path=/head/; revision=328223
Diffstat (limited to 'sys/modules/Makefile')
-rw-r--r-- | sys/modules/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 892c50ab3198..925d89a341fd 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -60,6 +60,7 @@ SUBDIR= \ ${_autofs} \ ${_auxio} \ ${_bce} \ + ${_bcm283x_pwm} \ bfe \ bge \ bhnd \ @@ -806,6 +807,10 @@ _cloudabi64= cloudabi64 .endif +.if ${MACHINE_ARCH:Marmv[67]*} != "" || ${MACHINE_CPUARCH} == "aarch64" +_bcm283x_pwm= bcm283x_pwm +.endif + .if ${MACHINE_ARCH:Marmv[67]*} != "" _ffec= ffec .endif |