openwrt/target/linux/ramips
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 ramips: add support for Archer C50 v4 2019-01-26 21:46:32 +01:00
dts ramips: specify "firmware" partition format for remaining devices 2019-01-26 21:46:33 +01:00
files-4.14/drivers ramips: fix two-way hash and auto ageout on MT7621 2019-01-23 09:27:30 +01:00
image ramips: add support for Archer C50 v4 2019-01-26 21:46:32 +01:00
mt76x8 ramips: disable CONFIG_MTD_SPLIT_FIRMWARE 2019-01-26 21:46:33 +01:00
mt7620 ramips: disable CONFIG_MTD_SPLIT_FIRMWARE 2019-01-26 21:46:33 +01:00
mt7621 ramips: mt7621: disable CONFIG_MTD_SPLIT_FIRMWARE 2018-12-13 13:39:56 +01:00
patches-4.14 ramips: fix support for MX25L25635F flash 2019-01-26 17:10:19 +01:00
rt288x ramips: disable CONFIG_MTD_SPLIT_FIRMWARE 2019-01-26 21:46:33 +01:00
rt305x ramips: disable CONFIG_MTD_SPLIT_FIRMWARE 2019-01-26 21:46:33 +01:00
rt3883 ramips: rt3883: drop jimage support 2019-01-26 21:46:33 +01:00
Makefile ramips: switch to linux 4.14 2018-04-06 18:07:43 +02:00
modules.mk kernel: Build: Split kmod-regmap 2019-01-27 00:16:13 +01:00