1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00
openwrt/target/linux/at91
Hauke Mehrtens fd5c168701 kernel: Build: Split kmod-regmap
This reduces the needed modifications to the mainline Linux kernel and
also makes the regmap package work with an out of tree kernel which
does not have these modifications.

The regmap-core is only added when it is really build as a module.
The regmap-core is normally bool so it cannot be built as a module in an
unmodified kernel. When it is selected by on other kernel module it will
always be selected as build in and it also does not show up in
$(LINUX_DIR)/modules.builtin as it is not supposed to be a kernel module.
When it is not in $(LINUX_DIR)/modules.builtin the build system expects
it to be built as a .ko file.
Just check if the module is really there and only add it in that case.

This splits the regmap package into multiple packages, one for each bus type.
This way only the bus maps which are really needed have to be added.
This also splits the I2C, SPI and MMIO regmap into separate packages to not
require all these subsystems to build them, on an unmodified upstream kernel
this also causes problems in some situations.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
2019-01-27 00:16:13 +01:00
..
base-files at91: Add SAMA5D2 PTC EK board 2018-05-05 06:55:22 +02:00
files/arch/arm/boot/dts at91: dts: Unify naming of gpio-keys nodes 2019-01-24 15:53:02 +01:00
image at91: do not build image for at91-q5xr5 2018-08-12 11:34:50 +02:00
legacy at91: cleanup kernel configurations 2018-05-11 18:24:00 +02:00
patches-4.9 kernel: bump 4.9 to 4.9.100 2018-05-18 09:10:21 +02:00
sama5d2 at91: cleanup kernel configurations 2018-05-11 18:24:00 +02:00
sama5d3 at91: cleanup kernel configurations 2018-05-11 18:24:00 +02:00
sama5d4 at91: cleanup kernel configurations 2018-05-11 18:24:00 +02:00
config-4.9 kernel: Deactivate CONFIG_COMPAT_BRK 2018-12-26 17:32:48 +01:00
Makefile at91: reorganize at91 subtargets 2018-05-05 06:55:22 +02:00
modules.mk kernel: Build: Split kmod-regmap 2019-01-27 00:16:13 +01:00