openwrt/package/kernel/linux/modules
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
..
001-depends.mk kernel: remove useless AddDepends/rtc abstraction 2015-03-29 08:12:50 +00:00
block.mk kernel: Use kmod-dax on kernel 4.19 2018-12-15 14:28:48 +01:00
can.mk kernel: Build: Split kmod-regmap 2019-01-27 00:16:13 +01:00
crypto.mk kernel: Add dependencies for kernel 4.19 2018-12-15 14:28:49 +01:00
firewire.mk firewire.mk: sort kernel modules 2018-02-13 11:48:49 +01:00
fs.mk kernel: Adapt to move of autofs4 in kernel 4.19 2018-12-15 14:28:49 +01:00
hwmon.mk kernel: Build: Split kmod-regmap 2019-01-27 00:16:13 +01:00
i2c.mk kernel: remove an old kernel compatibility line from module packaging 2018-03-04 19:37:22 +01:00
iio.mk kernel: Build: Split kmod-regmap 2019-01-27 00:16:13 +01:00
input.mk kernel: fix typo in input-gpio-encoder package title 2016-11-26 22:00:30 +01:00
leds.mk kernel: Replace ledtrig-netdev with upstream backport 2018-12-15 12:50:06 +01:00
lib.mk kernel: extract asn1_decoder.ko 2018-12-15 14:28:49 +01:00
netdevices.mk kernel: tg3: Do not depend on kmod-hwmon-core on kernel 4.19 2018-12-15 14:28:50 +01:00
netfilter.mk netfilter: Add fib support for nftables 2018-12-16 00:57:20 +01:00
netsupport.mk kernel: Make kmod-mpls depend on iptunnel in kernel 4.19 2018-12-15 14:28:49 +01:00
nls.mk kernel: add Chinese codepages 2017-02-20 09:13:52 +01:00
other.mk kernel: Build: Split kmod-regmap 2019-01-27 00:16:13 +01:00
pcmcia.mk kernel: add support for Option Fusion+ PCMCIA card 2016-12-20 09:35:36 +01:00
sound.mk kernel: Build: Split kmod-regmap 2019-01-27 00:16:13 +01:00
spi.mk kernel: remove kmod-spi-gpio-old 2018-02-09 10:29:07 +01:00
usb.mk kernel: modules: usb: Add DWC3 Qualcomm kmod 2018-12-27 14:06:38 +01:00
video.mk kernel: Make video-gspca-core depend on vidobuf2 2018-12-15 14:28:49 +01:00
virt.mk kernel: remove another redundant KCONFIG entry in virt.mk 2016-11-24 13:41:10 +01:00
w1.mk kernel: Fix kmod-w1 dependency on hwmon-core for 4.19 2019-01-03 18:05:47 +01:00
wireless.mk kernel: move kmod-owl-loader to the right .mk file 2016-10-04 16:01:42 +02:00
wpan.mk kernel: Build: Split kmod-regmap 2019-01-27 00:16:13 +01:00