openwrt/target/linux/generic/hack-4.14
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.14 to 4.14.48 2018-06-05 22:54:00 +03:00
204-module_strip.patch kernel: avoid stripping retpoline flag with CONFIG_MODULE_STRIPPED 2018-02-21 20:55:52 +01:00
207-disable-modorder.patch kernel: bump 4.14 to 4.14.93 2019-01-14 02:20:40 +02:00
210-darwin_scripts_include.patch
211-host_tools_portability.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
212-byteshift_portability.patch
214-spidev_h_portability.patch
220-gc_sections.patch kernel: bump 4.14 to 4.14.86 2018-12-10 11:48:44 +01:00
221-module_exports.patch kernel: bump 4.14 to 4.14.86 2018-12-10 11:48:44 +01:00
230-openwrt_lzma_options.patch
250-netfilter_depends.patch kernel: generic: Fix nftables inet table breakage 2018-09-22 21:20:55 +02:00
251-sound_kconfig.patch kernel: generic: Fix nftables inet table breakage 2018-09-22 21:20:55 +02:00
259-regmap_dynamic.patch kernel: Build: Split kmod-regmap 2019-01-27 00:16:13 +01:00
260-crypto_test_dependencies.patch
280-rfkill-stubs.patch
300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch kernel: bump 4.14 to 4.14.93 2019-01-14 02:20:40 +02:00
301-mips_image_cmdline_hack.patch kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:00 +01:00
321-powerpc_crtsavres_prereq.patch
531-debloat_lzma.patch
640-bridge-only-accept-EAP-locally.patch kernel: replace bridge port isolate hack with upstream patch backport on 4.14 2018-07-11 20:59:05 +02:00
647-netfilter-flow-acct.patch generic: add flow_offload accounting 2018-08-28 11:30:39 +02:00
650-netfilter-add-xt_OFFLOAD-target.patch kernel: generic: Fix nftables inet table breakage 2018-09-22 21:20:55 +02:00
651-wireless_mesh_header.patch
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: bump 4.14 to 4.14.81 2018-11-14 16:27:43 +01:00
662-remove_pfifo_fast.patch
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.14 to 4.14.93 2019-01-14 02:20:40 +02:00
721-phy_packets.patch kernel: bump 4.14 to 4.14.86 2018-12-10 11:48:44 +01:00
773-bgmac-add-srab-switch.patch kernel: bump 4.14 to 4.14.48 2018-06-05 22:54:00 +03:00
835-misc-owl_loader.patch
901-debloat_sock_diag.patch kernel: bump 4.14 to 4.14.44 2018-05-29 00:53:15 +03:00
902-debloat_proc.patch kernel: bump 4.14 to 4.14.93 2019-01-14 02:20:40 +02:00
904-debloat_dma_buf.patch kernel: bump 4.14 to 4.14.54 2018-07-11 16:02:24 +02:00
910-kobject_uevent.patch
911-kobject_add_broadcast_uevent.patch
921-always-create-console-node-in-initramfs.patch
930-crashlog.patch
940-cleanup-offload-hooks-on-netdev-unregister.patch kernel: bump 4.14 to 4.14.52 2018-07-02 07:04:48 +02:00