]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Build modules specific to imx5/imx6 only when building those kernels.
authorian <ian@FreeBSD.org>
Sun, 18 Feb 2018 02:48:54 +0000 (02:48 +0000)
committerian <ian@FreeBSD.org>
Sun, 18 Feb 2018 02:48:54 +0000 (02:48 +0000)
commit7e965503533399eaabb47f10baad50c46e750008
tree3221ee9552d7ed18e2b1bd1556d593b8229651cb
parentf48928927620f53cf483302cf6edba8bda330635
Build modules specific to imx5/imx6 only when building those kernels.

This adds sys/modules/imx with a SUBDIR makefile to make the whole
collection of modules that are specific to these SoCs.  Initially, that
"whole collection" consists of the if_ffec and imx_i2c drivers.

The if_ffec driver is referenced in its existing home in ../ffec rather
than moving it into the imx directory, because it's used by powerpc too,
but it is no longer built for all armv6/7 systems.

The imx_i2c driver is newly added as a module.
sys/arm/conf/IMX53
sys/arm/conf/IMX6
sys/modules/Makefile
sys/modules/imx/Makefile [new file with mode: 0644]
sys/modules/imx/imx_i2c/Makefile [new file with mode: 0644]