difos/target/linux/generic/hack-4.9
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
..
202-reduce_module_size.patch kernel: bump 4.9 to 4.9.85 2018-03-03 12:58:55 +01:00
204-module_strip.patch kernel: bump 4.9 to 4.9.96 2018-04-26 08:53:54 +02:00
207-disable-modorder.patch kernel: bump 4.9 to 4.9.145 2018-12-14 13:01:45 +01:00
210-darwin_scripts_include.patch kernel: update 4.9 to 4.9.44 2017-08-17 12:34:34 +02:00
211-host_tools_portability.patch kernel: bump 4.9 to 4.9.116 2018-08-01 09:46:59 +02:00
212-byteshift_portability.patch kernel: update 4.9 to 4.9.44 2017-08-17 12:34:34 +02:00
214-spidev_h_portability.patch kernel: bump 4.9 to 4.9.63 2017-11-22 20:45:52 +01:00
220-gc_sections.patch kernel: bump 4.9 to 4.9.145 2018-12-14 13:01:45 +01:00
221-module_exports.patch kernel: bump 4.9 to 4.9.143 2018-12-10 11:48:44 +01:00
230-openwrt_lzma_options.patch kernel: update 4.9 to 4.9.44 2017-08-17 12:34:34 +02:00
250-netfilter_depends.patch kernel: update 4.9 to 4.9.44 2017-08-17 12:34:34 +02:00
251-sound_kconfig.patch kernel: update 4.9 to 4.9.44 2017-08-17 12:34:34 +02:00
259-regmap_dynamic.patch kernel: Build: Split kmod-regmap 2019-01-27 00:16:13 +01:00
260-crypto_test_dependencies.patch kernel: update 4.9 to 4.9.44 2017-08-17 12:34:34 +02:00
280-rfkill-stubs.patch kernel: update 4.9 to 4.9.44 2017-08-17 12:34:34 +02:00
300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch kernel: bump 4.9 to 4.9.87 2018-03-17 22:15:38 +01:00
301-mips_image_cmdline_hack.patch kernel: bump 4.9 to 4.9.100 2018-05-18 09:10:21 +02:00
321-powerpc_crtsavres_prereq.patch kernel: Update kernel 4.9 to 4.9.70 2017-12-19 22:45:27 +01:00
531-debloat_lzma.patch kernel: update 4.9 to 4.9.44 2017-08-17 12:34:34 +02:00
640-bridge-only-accept-EAP-locally.patch kernel: update 4.9 to 4.9.44 2017-08-17 12:34:34 +02:00
641-bridge_port_isolate.patch kernel: adjust bridge port isolate patch to match upstream attribute naming 2018-07-11 20:59:05 +02:00
651-wireless_mesh_header.patch kernel: update 4.9 to 4.9.44 2017-08-17 12:34:34 +02:00
660-fq_codel_defaults.patch kernel: merge a pending fix for HFSC warnings/slowdowns (fixes FS#1136) 2018-03-11 08:58:53 +01:00
661-use_fq_codel_by_default.patch kernel: merge a pending fix for HFSC warnings/slowdowns (fixes FS#1136) 2018-03-11 08:58:53 +01:00
662-remove_pfifo_fast.patch kernel: update 4.9 to 4.9.44 2017-08-17 12:34:34 +02:00
700-swconfig_switch_drivers.patch kernel: Move modifications of b53.h into patch 2018-12-15 12:50:06 +01:00
702-phy_add_aneg_done_function.patch kernel: bump 4.9 to 4.9.150 2019-01-16 12:56:30 +01:00
710-phy-add-mdio_register_board_info.patch kernel: bump 4.9 to 4.9.77 2018-01-20 20:22:01 +01:00
721-phy_packets.patch kernel: bump 4.9 to 4.9.134 2018-10-19 10:01:57 +02:00
773-bgmac-add-srab-switch.patch kernel: bump to 4.9.105 2018-06-01 08:25:14 +02:00
835-misc-owl_loader.patch kernel: update 4.9 to 4.9.44 2017-08-17 12:34:34 +02:00
901-debloat_sock_diag.patch kernel: bump to 4.9.105 2018-06-01 08:25:14 +02:00
902-debloat_proc.patch kernel: bump 4.9 to 4.9.150 2019-01-16 12:56:30 +01:00
904-debloat_dma_buf.patch kernel: update kernel 4.9 to version 4.9.91 2018-03-31 16:31:26 +02:00
910-kobject_uevent.patch kernel: update 4.9 to 4.9.44 2017-08-17 12:34:34 +02:00
911-kobject_add_broadcast_uevent.patch kernel: update 4.9 to 4.9.44 2017-08-17 12:34:34 +02:00
921-always-create-console-node-in-initramfs.patch kernel: update 4.9 to 4.9.44 2017-08-17 12:34:34 +02:00
930-crashlog.patch kernel: update 4.9 to 4.9.45 2017-08-30 17:05:10 +02:00