[OpenWrt-Devel] [PATCH 9/9] kernel: Remove support for kernel 3.18

Hauke Mehrtens hauke at hauke-m.de
Mon Mar 25 11:28:55 EDT 2019


No target is using kernel 3.18 anymore, remove all the generic
support for kernel 3.18.

The removed packages are depending on kernel 3.18 only and are no used on
any recent kernel.

Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/devel/perf/Makefile                   |    2 +-
 package/kernel/kmod-sched-cake/Makefile       |    2 +-
 package/kernel/linux/modules/block.mk         |    6 +-
 package/kernel/linux/modules/can.mk           |    2 +-
 package/kernel/linux/modules/crypto.mk        |   12 +-
 package/kernel/linux/modules/fs.mk            |    2 +-
 package/kernel/linux/modules/hwmon.mk         |    2 +-
 package/kernel/linux/modules/iio.mk           |    2 +-
 package/kernel/linux/modules/lib.mk           |    4 +-
 package/kernel/linux/modules/netdevices.mk    |    2 +-
 package/kernel/linux/modules/netfilter.mk     |    2 +-
 package/kernel/linux/modules/netsupport.mk    |    9 +-
 package/kernel/linux/modules/other.mk         |    8 +-
 package/kernel/linux/modules/usb.mk           |    1 -
 package/kernel/linux/modules/video.mk         |    4 +-
 package/kernel/linux/modules/w1.mk            |    2 +-
 package/kernel/linux/modules/wpan.mk          |    7 +-
 package/kernel/mac80211/intel.mk              |    4 +-
 package/kernel/mac80211/marvell.mk            |    6 +-
 package/kernel/mt76/Makefile                  |    2 +-
 package/kernel/rotary-gpio-custom/Makefile    |   47 -
 package/kernel/rotary-gpio-custom/src/Kconfig |    9 -
 .../kernel/rotary-gpio-custom/src/Makefile    |    1 -
 .../src/rotary-gpio-custom.c                  |  193 -
 package/kernel/rtl8812au-ct/Makefile          |    2 +-
 package/libs/openssl/Config.in                |    2 +-
 package/libs/openssl/Makefile                 |    2 +-
 target/linux/generic/config-3.18              | 4667 ---------------
 .../pending-3.18/001-mtdsplit_backport.patch  |  142 -
 .../002-phy_drivers_backport.patch            |  552 --
 .../pending-3.18/003-myloader_backport.patch  |   11 -
 .../generic/pending-3.18/020-ssb_update.patch |  134 -
 .../generic/pending-3.18/021-ssb_sprom.patch  |   32 -
 .../pending-3.18/025-bcma_backport.patch      |  286 -
 .../pending-3.18/026-bcma-from-3.20.patch     |  527 --
 .../pending-3.18/027-bcma-from-4.1.patch      |  680 ---
 .../pending-3.18/028-bcma-from-4.2.patch      |   86 -
 .../pending-3.18/029-bcma-from-4.4.patch      |   26 -
 .../030-backport_bcm47xx_nvram.patch          |   52 -
 ...11-Allow-set-network-namespace-by-fd.patch |   21 -
 .../pending-3.18/031-bcma-from-4.5.patch      |   49 -
 .../pending-3.18/032-bcma-from-4.6.patch      |  716 ---
 ...-mtd-bcm47xxpart-backports-from-3.19.patch |   50 -
 ...-mtd-bcm47xxpart-backports-from-3.20.patch |   95 -
 ...GD25Q128B_support_backport_from_3.19.patch |   15 -
 .../044-backport-m25p80-jedec-probe.patch     |   39 -
 .../050-backport_netfilter_rtcache.patch      |  509 --
 ...ting-hash_max-multicast_router-if-in.patch |   99 -
 .../060-mips_decompressor_memmove.patch       |   22 -
 ...gmac-register-napi-before-the-device.patch |   44 -
 ...rqs-only-if-there-is-nothing-to-poll.patch |   30 -
 .../073-bgmac-Clean-warning-messages.patch    |   50 -
 ...ixed-PHY-for-ARM-BCM470X-BCM5301X-ch.patch |   76 -
 ...mac-allow-enabling-on-ARCH_BCM_5301X.patch |   28 -
 ...76-net-phy-export-fixed_phy_register.patch |   30 -
 ...scriptor-frame-start-end-definitions.patch |   24 -
 ...gmac-implement-GRO-and-use-build_skb.patch |  189 -
 ...mac-implement-scatter-gather-support.patch |  267 -
 ...gmac-simplify-tx-ring-index-handling.patch |  125 -
 ...rrupts-disabled-as-long-as-there-is-.patch |   87 -
 ...received-skb-headroom-to-NET_SKB_PAD.patch |   66 -
 ...bgmac-simplify-rx-DMA-error-handling.patch |  130 -
 ...gmac-add-check-for-oversized-packets.patch |   27 -
 ...ncrease-rx-ring-size-from-511-to-512.patch |   23 -
 ...7-10-bgmac-simplify-dma-init-cleanup.patch |  184 -
 .../077-11-bgmac-fix-DMA-rx-corruption.patch  |   88 -
 .../077-12-bgmac-drop-ring-num_slots.patch    |  132 -
 ...enable-Ethernet-core-before-using-it.patch |   31 -
 ...fix-MAC-soft-reset-bit-for-corerev-4.patch |   34 -
 ...c-net-fib_trie-when-CONFIG_IP_MULTIP.patch |   46 -
 ...e-balancing-issue-if-new-node-pushes.patch |   72 -
 ...usage-stats-to-be-percpu-instead-of-.patch |  200 -
 ...rie-Make-leaf-and-tnode-more-uniform.patch |  421 --
 ...node_free-and-leaf_free-into-node_fr.patch |  209 -
 ...80-05-fib_trie-Merge-leaf-into-tnode.patch |  928 ---
 ...e-fib_table_lookup-to-avoid-wasting-.patch |  343 --
 ...0-07-fib_trie-Optimize-fib_find_node.patch |   64 -
 ...8-fib_trie-Optimize-fib_table_insert.patch |  276 -
 ...meaning-of-pos-to-represent-unchecke.patch |  346 --
 ...igned-long-for-anything-dealing-with.patch |  186 -
 ...Push-rcu_read_lock-unlock-to-callers.patch |  403 --
 ...e-Move-resize-to-after-inflate-halve.patch |  345 --
 ...ctions-should_inflate-and-should_hal.patch |  250 -
 ...signment-of-child-to-parent-down-int.patch |  336 --
 ...tnode-flushing-down-to-inflate-halve.patch |  237 -
 ...-halve-nodes-in-a-more-RCU-friendly-.patch |  345 --
 ...checks-for-index-tnode_child_length-.patch |   95 -
 ...Add-tracking-value-for-suffix-length.patch |  234 -
 ...ex-0ul-n-bits-instead-of-index-n-bit.patch |   52 -
 ...-bug-and-merge-similar-bits-of-infla.patch |  267 -
 ...ck-to-slen-update-on-inflate-halve-f.patch |   61 -
 ...llapse-and-should_collapse-to-resize.patch |  206 -
 ...ty_children-instead-of-counting-empt.patch |   34 -
 ...b_find_alias-to-file-where-it-is-use.patch |   79 -
 ...-Various-clean-ups-for-handling-slen.patch |  116 -
 ...eue-to-die-properly-when-a-PADT-is-r.patch |   89 -
 ...02-pppoe-Lacks-DST-MAC-address-check.patch |   25 -
 ...poe-device-in-pppoe_unbind_sock_work.patch |   28 -
 ..._state-to-PPPOX_ZOMBIE-in-pppoe_disc.patch |   45 -
 ...ppp-remove-PPPOX_ZOMBIE-socket-state.patch |   51 -
 ...ry-corruption-in-padt-work-structure.patch |   82 -
 ...ment-fix-headroom-tests-and-skb-leak.patch |  101 -
 ...ncrease-headroom-on-received-packets.patch |   54 -
 .../087-regmap-make-LZO-cache-optional.patch  |   67 -
 ...layfs-fallback-to-readonly-when-full.patch |  109 -
 ...i-nor-add-support-Spansion_S25FL164K.patch |   10 -
 ...-if-the-device-is-processing-a-messa.patch |   47 -
 ...rs-inside-calling-context-for-spi_sy.patch |  184 -
 ...e-message-pump-in-the-worker-kthread.patch |   83 -
 ...ility-of-linux-in.h-with-netinet-in..patch |  146 -
 ...ing_init-new-hook-for-archs-before-m.patch |  182 -
 .../pending-3.18/102-ehci_hcd_ignore_oc.patch |   82 -
 ...ame2-and-add-RENAME_WHITEOUT-support.patch |   86 -
 ...11-jffs2-add-RENAME_EXCHANGE-support.patch |   58 -
 ...ge_allow_receiption_on_disabled_port.patch |   54 -
 .../132-mips_inline_dma_ops.patch             |  688 ---
 ...-generic-parsing-of-linux-part-probe.patch |  175 -
 ...part-don-t-fail-because-of-bit-flips.patch |   92 -
 ...ci-make-USB_XHCI_PLATFORM-selectable.patch |   41 -
 ...t_for_moving_ndp_to_end_of_ncm_frame.patch |  228 -
 ...-support-for-Quectel-EC20-Mini-PCIe-.patch |  114 -
 ...-quirk-for-Quectel-EC20-Mini-PCIe-mo.patch |   91 -
 .../pending-3.18/200-fix_localversion.patch   |   11 -
 .../pending-3.18/201-extra_optimization.patch |   14 -
 .../pending-3.18/202-reduce_module_size.patch |   11 -
 .../203-kallsyms_uncompressed.patch           |  108 -
 .../pending-3.18/204-module_strip.patch       |  190 -
 .../205-backtrace_module_info.patch           |   36 -
 .../210-darwin_scripts_include.patch          | 3088 ----------
 .../212-byteshift_portability.patch           |   51 -
 .../213-x86_vdso_portability.patch            |   13 -
 .../214-spidev_h_portability.patch            |   11 -
 .../pending-3.18/220-gc_sections.patch        |  531 --
 .../pending-3.18/221-module_exports.patch     |   88 -
 .../230-openwrt_lzma_options.patch            |   58 -
 .../pending-3.18/250-netfilter_depends.patch  |   18 -
 .../pending-3.18/251-sound_kconfig.patch      |   18 -
 .../pending-3.18/252-mv_cesa_depends.patch    |   10 -
 .../pending-3.18/253-ssb_b43_default_on.patch |   29 -
 .../254-textsearch_kconfig_hacks.patch        |   23 -
 .../255-lib80211_kconfig_hacks.patch          |   31 -
 .../256-crypto_add_kconfig_prompts.patch      |   47 -
 .../257-wireless_ext_kconfig_hack.patch       |   22 -
 .../258-netfilter_netlink_kconfig_hack.patch  |   11 -
 .../pending-3.18/259-regmap_dynamic.patch     |   83 -
 .../260-crypto_test_dependencies.patch        |   37 -
 ...t-add-fallback-for-unsupported-libcs.patch |  102 -
 ...prevent-redefinition-of-struct-ethhd.patch |   55 -
 .../300-mips_expose_boot_raw.patch            |   39 -
 .../301-mips_image_cmdline_hack.patch         |   28 -
 .../302-mips_no_branch_likely.patch           |   11 -
 .../pending-3.18/304-mips_disable_fpu.patch   |  105 -
 .../pending-3.18/305-mips_module_reloc.patch  |  361 --
 .../306-mips_mem_functions_performance.patch  |   83 -
 .../307-mips_highmem_offset.patch             |   17 -
 .../310-arm_module_unresolved_weak_sym.patch  |   13 -
 .../320-ppc4xx_optimization.patch             |   31 -
 .../321-powerpc_crtsavres_prereq.patch        |   10 -
 ...t-command-line-parameters-from-users.patch |  298 -
 .../400-mtd-add-rootfs-split-support.patch    |  171 -
 ...for-different-partition-parser-types.patch |  113 -
 ...arsers-for-rootfs-and-firmware-split.patch |   72 -
 .../403-mtd-hook-mtdsplit-to-Kbuild.patch     |   22 -
 .../404-mtd-add-more-helper-functions.patch   |  101 -
 ...405-mtd-old-firmware-uimage-splitter.patch |   70 -
 ...406-mtd-old-rootfs-squashfs-splitter.patch |   76 -
 ...rward-declaration-of-struct-mtd_info.patch |   18 -
 .../411-mtd-partial_eraseblock_write.patch    |  142 -
 .../412-mtd-partial_eraseblock_unlock.patch   |   18 -
 .../pending-3.18/420-mtd-redboot_space.patch  |   30 -
 ...30-mtd-add-myloader-partition-parser.patch |   35 -
 ...check-for-bad-blocks-when-calculatin.patch |  100 -
 ...bcm47xxpart-detect-T_Meter-partition.patch |   42 -
 .../pending-3.18/440-block2mtd_init.patch     |  107 -
 .../pending-3.18/441-block2mtd_probe.patch    |  110 -
 ...-to-use-platform-specific-chip-fixup.patch |   37 -
 ...n-code-of-nand_correct_data-function.patch |   11 -
 ...mtd-cfi_cmdset_0002-no-erase_suspend.patch |   11 -
 ...et_0002-add-buffer-write-cmd-timeout.patch |   18 -
 ...add-support-for-Winbond-W25X05-flash.patch |   20 -
 ...support-for-the-Macronix-MX25L512E-S.patch |   21 -
 ...support-for-the-ISSI-SI25CD512-SPI-f.patch |   22 -
 ...mtd-spi-nor-add-macronix-mx25u25635f.patch |   10 -
 .../476-mtd-spi-nor-add-eon-en25qh32.patch    |   10 -
 .../480-mtd-set-rootfs-to-be-root-dev.patch   |   26 -
 ...mtd-device-named-ubi-or-data-on-boot.patch |   76 -
 ...to-create-ubiblock-device-for-rootfs.patch |   69 -
 ...ting-ubi0-rootfs-in-init-do_mounts.c.patch |   54 -
 ...ROOT_DEV-to-ubiblock-rootfs-if-unset.patch |   37 -
 .../494-mtd-ubi-add-EOF-marker-support.patch  |   51 -
 .../530-jffs2_make_lzma_available.patch       | 5142 -----------------
 .../pending-3.18/531-debloat_lzma.patch       | 1024 ----
 .../pending-3.18/532-jffs2_eofdetect.patch    |   56 -
 .../550-ubifs-symlink-xattr-support.patch     |   55 -
 ...fs-fix-default-compression-selection.patch |   29 -
 .../600-netfilter_conntrack_flush.patch       |   86 -
 ...etfilter_match_bypass_default_checks.patch |  101 -
 ...netfilter_match_bypass_default_table.patch |   94 -
 ...netfilter_match_reduce_memory_access.patch |   16 -
 ...-netfilter_optional_tcp_window_check.patch |   36 -
 .../616-net_optimize_xfrm_calls.patch         |   12 -
 .../pending-3.18/621-sched_act_connmark.patch |  161 -
 .../pending-3.18/630-packet_socket_type.patch |  134 -
 .../640-bridge_no_eap_forward.patch           |   23 -
 .../641-bridge_always_accept_eap.patch        |   17 -
 .../642-bridge_port_isolate.patch             |   92 -
 .../645-bridge_multicast_to_unicast.patch     |  390 --
 .../pending-3.18/650-pppoe_header_pad.patch   |    0
 .../651-wireless_mesh_header.patch            |   11 -
 .../653-disable_netlink_trim.patch            |   26 -
 .../pending-3.18/655-increase_skb_pad.patch   |   11 -
 .../656-skb_reduce_truesize-helper.patch      |   41 -
 .../657-qdisc_reduce_truesize.patch           |   63 -
 .../pending-3.18/660-fq_codel_defaults.patch  |   13 -
 .../661-fq_codel_keep_dropped_stats.patch     |   10 -
 .../662-use_fq_codel_by_default.patch         |   95 -
 .../pending-3.18/663-remove_pfifo_fast.patch  |  143 -
 ...Add-support-for-MAP-E-FMRs-mesh-mode.patch |  481 --
 ...urce-specific-default-route-handling.patch |   96 -
 ...ng-with-source-address-failed-policy.patch |  249 -
 ...nes-for-_POLICY_FAILED-until-all-cod.patch |   53 -
 ...T-skip-GRO-for-foreign-MAC-addresses.patch |  160 -
 .../681-NET-add-of_get_mac_address_mtd.patch  |   88 -
 .../generic/pending-3.18/700-swconfig.patch   |   39 -
 .../pending-3.18/701-phy_extension.patch      |   63 -
 .../702-phy_add_aneg_done_function.patch      |   27 -
 ...detach-callback-to-struct-phy_driver.patch |   27 -
 ...710-phy-add-mdio_register_board_info.patch |  192 -
 .../pending-3.18/720-phy_adm6996.patch        |   26 -
 .../pending-3.18/721-phy_packets.patch        |  161 -
 .../pending-3.18/722-phy_mvswitch.patch       |   23 -
 .../generic/pending-3.18/723-phy_ip175c.patch |   23 -
 .../generic/pending-3.18/724-phy_ar8216.patch |   24 -
 .../pending-3.18/725-phy_rtl8306.patch        |   23 -
 .../pending-3.18/726-phy_rtl8366.patch        |   45 -
 .../pending-3.18/727-phy-rtl8367.patch        |   23 -
 .../pending-3.18/728-phy-rtl8367b.patch       |   23 -
 .../generic/pending-3.18/729-phy-tantos.patch |   21 -
 .../generic/pending-3.18/730-phy_b53.patch    |   60 -
 .../732-phy-ar8216-led-support.patch          |   13 -
 .../pending-3.18/733-phy_mvsw61xx.patch       |   23 -
 ...-at803x-allow-to-configure-via-pdata.patch |  180 -
 ...net-phy-at803x-fix-at8033-sgmii-mode.patch |   96 -
 .../760-8139cp-fixes-from-4.3.patch           |  365 --
 .../773-bgmac-add-srab-switch.patch           |   72 -
 .../785-hso-support-0af0-9300.patch           |   25 -
 .../810-pci_disable_common_quirks.patch       |   51 -
 .../811-pci_disable_usb_common_quirks.patch   |  101 -
 .../pending-3.18/821-usb-dwc2-dualrole.patch  |  146 -
 .../pending-3.18/834-ledtrig-libata.patch     |  153 -
 .../generic/pending-3.18/840-rtc7301.patch    |  250 -
 .../pending-3.18/841-rtc_pt7c4338.patch       |  247 -
 .../861-04_spi_gpio_implement_spi_delay.patch |   58 -
 .../pending-3.18/862-gpio_spi_driver.patch    |  373 --
 .../pending-3.18/870-hifn795x_byteswap.patch  |   17 -
 .../890-8250_optional_sysrq.patch             |   24 -
 .../pending-3.18/901-debloat_sock_diag.patch  |   65 -
 .../pending-3.18/902-debloat_proc.patch       |  342 --
 .../pending-3.18/904-debloat_dma_buf.patch    |   44 -
 .../pending-3.18/910-kobject_uevent.patch     |   21 -
 .../911-kobject_add_broadcast_uevent.patch    |   65 -
 .../921-use_preinit_as_init.patch             |   12 -
 ...ays-create-console-node-in-initramfs.patch |   30 -
 .../generic/pending-3.18/930-crashlog.patch   |  276 -
 ...e-filenames-from-deps_initramfs-list.patch |   29 -
 .../980-arm_openwrt_machtypes.patch           |   32 -
 .../generic/pending-3.18/990-gpio_wdt.patch   |  360 --
 .../pending-3.18/995-mangle_bootargs.patch    |   58 -
 .../997-device_tree_cmdline.patch             |   24 -
 ...able_wilink_platform_without_drivers.patch |   15 -
 .../pending-3.18/999-seccomp_log.patch        |   34 -
 271 files changed, 41 insertions(+), 40735 deletions(-)
 delete mode 100644 package/kernel/rotary-gpio-custom/Makefile
 delete mode 100644 package/kernel/rotary-gpio-custom/src/Kconfig
 delete mode 100644 package/kernel/rotary-gpio-custom/src/Makefile
 delete mode 100644 package/kernel/rotary-gpio-custom/src/rotary-gpio-custom.c
 delete mode 100644 target/linux/generic/config-3.18
 delete mode 100644 target/linux/generic/pending-3.18/001-mtdsplit_backport.patch
 delete mode 100644 target/linux/generic/pending-3.18/002-phy_drivers_backport.patch
 delete mode 100644 target/linux/generic/pending-3.18/003-myloader_backport.patch
 delete mode 100644 target/linux/generic/pending-3.18/020-ssb_update.patch
 delete mode 100644 target/linux/generic/pending-3.18/021-ssb_sprom.patch
 delete mode 100644 target/linux/generic/pending-3.18/025-bcma_backport.patch
 delete mode 100644 target/linux/generic/pending-3.18/026-bcma-from-3.20.patch
 delete mode 100644 target/linux/generic/pending-3.18/027-bcma-from-4.1.patch
 delete mode 100644 target/linux/generic/pending-3.18/028-bcma-from-4.2.patch
 delete mode 100644 target/linux/generic/pending-3.18/029-bcma-from-4.4.patch
 delete mode 100644 target/linux/generic/pending-3.18/030-backport_bcm47xx_nvram.patch
 delete mode 100644 target/linux/generic/pending-3.18/030-nl80211-Allow-set-network-namespace-by-fd.patch
 delete mode 100644 target/linux/generic/pending-3.18/031-bcma-from-4.5.patch
 delete mode 100644 target/linux/generic/pending-3.18/032-bcma-from-4.6.patch
 delete mode 100644 target/linux/generic/pending-3.18/040-mtd-bcm47xxpart-backports-from-3.19.patch
 delete mode 100644 target/linux/generic/pending-3.18/041-mtd-bcm47xxpart-backports-from-3.20.patch
 delete mode 100644 target/linux/generic/pending-3.18/043-mtd_GD25Q128B_support_backport_from_3.19.patch
 delete mode 100644 target/linux/generic/pending-3.18/044-backport-m25p80-jedec-probe.patch
 delete mode 100644 target/linux/generic/pending-3.18/050-backport_netfilter_rtcache.patch
 delete mode 100644 target/linux/generic/pending-3.18/051-02-bridge-allow-setting-hash_max-multicast_router-if-in.patch
 delete mode 100644 target/linux/generic/pending-3.18/060-mips_decompressor_memmove.patch
 delete mode 100644 target/linux/generic/pending-3.18/070-bgmac-register-napi-before-the-device.patch
 delete mode 100644 target/linux/generic/pending-3.18/071-bgmac-activate-irqs-only-if-there-is-nothing-to-poll.patch
 delete mode 100644 target/linux/generic/pending-3.18/073-bgmac-Clean-warning-messages.patch
 delete mode 100644 target/linux/generic/pending-3.18/074-bgmac-register-fixed-PHY-for-ARM-BCM470X-BCM5301X-ch.patch
 delete mode 100644 target/linux/generic/pending-3.18/075-bgmac-allow-enabling-on-ARCH_BCM_5301X.patch
 delete mode 100644 target/linux/generic/pending-3.18/076-net-phy-export-fixed_phy_register.patch
 delete mode 100644 target/linux/generic/pending-3.18/077-01-bgmac-fix-descriptor-frame-start-end-definitions.patch
 delete mode 100644 target/linux/generic/pending-3.18/077-02-bgmac-implement-GRO-and-use-build_skb.patch
 delete mode 100644 target/linux/generic/pending-3.18/077-03-bgmac-implement-scatter-gather-support.patch
 delete mode 100644 target/linux/generic/pending-3.18/077-04-bgmac-simplify-tx-ring-index-handling.patch
 delete mode 100644 target/linux/generic/pending-3.18/077-05-bgmac-leave-interrupts-disabled-as-long-as-there-is-.patch
 delete mode 100644 target/linux/generic/pending-3.18/077-06-bgmac-set-received-skb-headroom-to-NET_SKB_PAD.patch
 delete mode 100644 target/linux/generic/pending-3.18/077-07-bgmac-simplify-rx-DMA-error-handling.patch
 delete mode 100644 target/linux/generic/pending-3.18/077-08-bgmac-add-check-for-oversized-packets.patch
 delete mode 100644 target/linux/generic/pending-3.18/077-09-bgmac-increase-rx-ring-size-from-511-to-512.patch
 delete mode 100644 target/linux/generic/pending-3.18/077-10-bgmac-simplify-dma-init-cleanup.patch
 delete mode 100644 target/linux/generic/pending-3.18/077-11-bgmac-fix-DMA-rx-corruption.patch
 delete mode 100644 target/linux/generic/pending-3.18/077-12-bgmac-drop-ring-num_slots.patch
 delete mode 100644 target/linux/generic/pending-3.18/078-bgmac-reset-enable-Ethernet-core-before-using-it.patch
 delete mode 100644 target/linux/generic/pending-3.18/079-bgmac-fix-MAC-soft-reset-bit-for-corerev-4.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-00-fib_trie-Fix-proc-net-fib_trie-when-CONFIG_IP_MULTIP.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-01-fib_trie-Fix-trie-balancing-issue-if-new-node-pushes.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-02-fib_trie-Update-usage-stats-to-be-percpu-instead-of-.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-03-fib_trie-Make-leaf-and-tnode-more-uniform.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-04-fib_trie-Merge-tnode_free-and-leaf_free-into-node_fr.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-05-fib_trie-Merge-leaf-into-tnode.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-06-fib_trie-Optimize-fib_table_lookup-to-avoid-wasting-.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-07-fib_trie-Optimize-fib_find_node.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-08-fib_trie-Optimize-fib_table_insert.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-09-fib_trie-Update-meaning-of-pos-to-represent-unchecke.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-10-fib_trie-Use-unsigned-long-for-anything-dealing-with.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-11-fib_trie-Push-rcu_read_lock-unlock-to-callers.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-12-fib_trie-Move-resize-to-after-inflate-halve.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-13-fib_trie-Add-functions-should_inflate-and-should_hal.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-14-fib_trie-Push-assignment-of-child-to-parent-down-int.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-15-fib_trie-Push-tnode-flushing-down-to-inflate-halve.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-16-fib_trie-inflate-halve-nodes-in-a-more-RCU-friendly-.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-17-fib_trie-Remove-checks-for-index-tnode_child_length-.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-18-fib_trie-Add-tracking-value-for-suffix-length.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-19-fib_trie-Use-index-0ul-n-bits-instead-of-index-n-bit.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-20-fib_trie-Fix-RCU-bug-and-merge-similar-bits-of-infla.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-21-fib_trie-Fall-back-to-slen-update-on-inflate-halve-f.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-22-fib_trie-Add-collapse-and-should_collapse-to-resize.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-23-fib_trie-Use-empty_children-instead-of-counting-empt.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-24-fib_trie-Move-fib_find_alias-to-file-where-it-is-use.patch
 delete mode 100644 target/linux/generic/pending-3.18/080-25-fib_trie-Various-clean-ups-for-handling-slen.patch
 delete mode 100644 target/linux/generic/pending-3.18/081-01-pppoe-Use-workqueue-to-die-properly-when-a-PADT-is-r.patch
 delete mode 100644 target/linux/generic/pending-3.18/081-02-pppoe-Lacks-DST-MAC-address-check.patch
 delete mode 100644 target/linux/generic/pending-3.18/081-03-pppoe-drop-pppoe-device-in-pppoe_unbind_sock_work.patch
 delete mode 100644 target/linux/generic/pending-3.18/081-06-ppp-don-t-set-sk_state-to-PPPOX_ZOMBIE-in-pppoe_disc.patch
 delete mode 100644 target/linux/generic/pending-3.18/081-07-ppp-remove-PPPOX_ZOMBIE-socket-state.patch
 delete mode 100644 target/linux/generic/pending-3.18/081-08-pppoe-fix-memory-corruption-in-padt-work-structure.patch
 delete mode 100644 target/linux/generic/pending-3.18/082-ipv6-ip6_fragment-fix-headroom-tests-and-skb-leak.patch
 delete mode 100644 target/linux/generic/pending-3.18/083-solos-pci-Increase-headroom-on-received-packets.patch
 delete mode 100644 target/linux/generic/pending-3.18/087-regmap-make-LZO-cache-optional.patch
 delete mode 100644 target/linux/generic/pending-3.18/090-overlayfs-fallback-to-readonly-when-full.patch
 delete mode 100644 target/linux/generic/pending-3.18/091-mtd-spi-nor-add-support-Spansion_S25FL164K.patch
 delete mode 100644 target/linux/generic/pending-3.18/092-01-spi-Check-to-see-if-the-device-is-processing-a-messa.patch
 delete mode 100644 target/linux/generic/pending-3.18/092-02-spi-Pump-transfers-inside-calling-context-for-spi_sy.patch
 delete mode 100644 target/linux/generic/pending-3.18/092-03-spi-Only-idle-the-message-pump-in-the-worker-kthread.patch
 delete mode 100644 target/linux/generic/pending-3.18/095-api-fix-compatibility-of-linux-in.h-with-netinet-in..patch
 delete mode 100644 target/linux/generic/pending-3.18/099-module_arch_freeing_init-new-hook-for-archs-before-m.patch
 delete mode 100644 target/linux/generic/pending-3.18/102-ehci_hcd_ignore_oc.patch
 delete mode 100644 target/linux/generic/pending-3.18/110-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch
 delete mode 100644 target/linux/generic/pending-3.18/111-jffs2-add-RENAME_EXCHANGE-support.patch
 delete mode 100644 target/linux/generic/pending-3.18/120-bridge_allow_receiption_on_disabled_port.patch
 delete mode 100644 target/linux/generic/pending-3.18/132-mips_inline_dma_ops.patch
 delete mode 100644 target/linux/generic/pending-3.18/140-mtd-part-add-generic-parsing-of-linux-part-probe.patch
 delete mode 100644 target/linux/generic/pending-3.18/142-mtd-bcm47xxpart-don-t-fail-because-of-bit-flips.patch
 delete mode 100644 target/linux/generic/pending-3.18/180-usb-xhci-make-USB_XHCI_PLATFORM-selectable.patch
 delete mode 100644 target/linux/generic/pending-3.18/190-cdc_ncm_add_support_for_moving_ndp_to_end_of_ncm_frame.patch
 delete mode 100644 target/linux/generic/pending-3.18/192-USB-qcserial-Add-support-for-Quectel-EC20-Mini-PCIe-.patch
 delete mode 100644 target/linux/generic/pending-3.18/193-USB-qmi_wwan-Add-quirk-for-Quectel-EC20-Mini-PCIe-mo.patch
 delete mode 100644 target/linux/generic/pending-3.18/200-fix_localversion.patch
 delete mode 100644 target/linux/generic/pending-3.18/201-extra_optimization.patch
 delete mode 100644 target/linux/generic/pending-3.18/202-reduce_module_size.patch
 delete mode 100644 target/linux/generic/pending-3.18/203-kallsyms_uncompressed.patch
 delete mode 100644 target/linux/generic/pending-3.18/204-module_strip.patch
 delete mode 100644 target/linux/generic/pending-3.18/205-backtrace_module_info.patch
 delete mode 100644 target/linux/generic/pending-3.18/210-darwin_scripts_include.patch
 delete mode 100644 target/linux/generic/pending-3.18/212-byteshift_portability.patch
 delete mode 100644 target/linux/generic/pending-3.18/213-x86_vdso_portability.patch
 delete mode 100644 target/linux/generic/pending-3.18/214-spidev_h_portability.patch
 delete mode 100644 target/linux/generic/pending-3.18/220-gc_sections.patch
 delete mode 100644 target/linux/generic/pending-3.18/221-module_exports.patch
 delete mode 100644 target/linux/generic/pending-3.18/230-openwrt_lzma_options.patch
 delete mode 100644 target/linux/generic/pending-3.18/250-netfilter_depends.patch
 delete mode 100644 target/linux/generic/pending-3.18/251-sound_kconfig.patch
 delete mode 100644 target/linux/generic/pending-3.18/252-mv_cesa_depends.patch
 delete mode 100644 target/linux/generic/pending-3.18/253-ssb_b43_default_on.patch
 delete mode 100644 target/linux/generic/pending-3.18/254-textsearch_kconfig_hacks.patch
 delete mode 100644 target/linux/generic/pending-3.18/255-lib80211_kconfig_hacks.patch
 delete mode 100644 target/linux/generic/pending-3.18/256-crypto_add_kconfig_prompts.patch
 delete mode 100644 target/linux/generic/pending-3.18/257-wireless_ext_kconfig_hack.patch
 delete mode 100644 target/linux/generic/pending-3.18/258-netfilter_netlink_kconfig_hack.patch
 delete mode 100644 target/linux/generic/pending-3.18/259-regmap_dynamic.patch
 delete mode 100644 target/linux/generic/pending-3.18/260-crypto_test_dependencies.patch
 delete mode 100644 target/linux/generic/pending-3.18/270-uapi-libc-compat-add-fallback-for-unsupported-libcs.patch
 delete mode 100644 target/linux/generic/pending-3.18/272-uapi-if_ether.h-prevent-redefinition-of-struct-ethhd.patch
 delete mode 100644 target/linux/generic/pending-3.18/300-mips_expose_boot_raw.patch
 delete mode 100644 target/linux/generic/pending-3.18/301-mips_image_cmdline_hack.patch
 delete mode 100644 target/linux/generic/pending-3.18/302-mips_no_branch_likely.patch
 delete mode 100644 target/linux/generic/pending-3.18/304-mips_disable_fpu.patch
 delete mode 100644 target/linux/generic/pending-3.18/305-mips_module_reloc.patch
 delete mode 100644 target/linux/generic/pending-3.18/306-mips_mem_functions_performance.patch
 delete mode 100644 target/linux/generic/pending-3.18/307-mips_highmem_offset.patch
 delete mode 100644 target/linux/generic/pending-3.18/310-arm_module_unresolved_weak_sym.patch
 delete mode 100644 target/linux/generic/pending-3.18/320-ppc4xx_optimization.patch
 delete mode 100644 target/linux/generic/pending-3.18/321-powerpc_crtsavres_prereq.patch
 delete mode 100644 target/linux/generic/pending-3.18/330-MIPS-kexec-Accept-command-line-parameters-from-users.patch
 delete mode 100644 target/linux/generic/pending-3.18/400-mtd-add-rootfs-split-support.patch
 delete mode 100644 target/linux/generic/pending-3.18/401-mtd-add-support-for-different-partition-parser-types.patch
 delete mode 100644 target/linux/generic/pending-3.18/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch
 delete mode 100644 target/linux/generic/pending-3.18/403-mtd-hook-mtdsplit-to-Kbuild.patch
 delete mode 100644 target/linux/generic/pending-3.18/404-mtd-add-more-helper-functions.patch
 delete mode 100644 target/linux/generic/pending-3.18/405-mtd-old-firmware-uimage-splitter.patch
 delete mode 100644 target/linux/generic/pending-3.18/406-mtd-old-rootfs-squashfs-splitter.patch
 delete mode 100644 target/linux/generic/pending-3.18/410-mtd-move-forward-declaration-of-struct-mtd_info.patch
 delete mode 100644 target/linux/generic/pending-3.18/411-mtd-partial_eraseblock_write.patch
 delete mode 100644 target/linux/generic/pending-3.18/412-mtd-partial_eraseblock_unlock.patch
 delete mode 100644 target/linux/generic/pending-3.18/420-mtd-redboot_space.patch
 delete mode 100644 target/linux/generic/pending-3.18/430-mtd-add-myloader-partition-parser.patch
 delete mode 100644 target/linux/generic/pending-3.18/431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch
 delete mode 100644 target/linux/generic/pending-3.18/432-mtd-bcm47xxpart-detect-T_Meter-partition.patch
 delete mode 100644 target/linux/generic/pending-3.18/440-block2mtd_init.patch
 delete mode 100644 target/linux/generic/pending-3.18/441-block2mtd_probe.patch
 delete mode 100644 target/linux/generic/pending-3.18/450-mtd-nand-allow-to-use-platform-specific-chip-fixup.patch
 delete mode 100644 target/linux/generic/pending-3.18/451-mtd-nand-fix-return-code-of-nand_correct_data-function.patch
 delete mode 100644 target/linux/generic/pending-3.18/460-mtd-cfi_cmdset_0002-no-erase_suspend.patch
 delete mode 100644 target/linux/generic/pending-3.18/461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch
 delete mode 100644 target/linux/generic/pending-3.18/472-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch
 delete mode 100644 target/linux/generic/pending-3.18/473-mtd-spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch
 delete mode 100644 target/linux/generic/pending-3.18/474-mtd-spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch
 delete mode 100644 target/linux/generic/pending-3.18/475-mtd-spi-nor-add-macronix-mx25u25635f.patch
 delete mode 100644 target/linux/generic/pending-3.18/476-mtd-spi-nor-add-eon-en25qh32.patch
 delete mode 100644 target/linux/generic/pending-3.18/480-mtd-set-rootfs-to-be-root-dev.patch
 delete mode 100644 target/linux/generic/pending-3.18/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch
 delete mode 100644 target/linux/generic/pending-3.18/491-ubi-auto-create-ubiblock-device-for-rootfs.patch
 delete mode 100644 target/linux/generic/pending-3.18/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch
 delete mode 100644 target/linux/generic/pending-3.18/493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch
 delete mode 100644 target/linux/generic/pending-3.18/494-mtd-ubi-add-EOF-marker-support.patch
 delete mode 100644 target/linux/generic/pending-3.18/530-jffs2_make_lzma_available.patch
 delete mode 100644 target/linux/generic/pending-3.18/531-debloat_lzma.patch
 delete mode 100644 target/linux/generic/pending-3.18/532-jffs2_eofdetect.patch
 delete mode 100644 target/linux/generic/pending-3.18/550-ubifs-symlink-xattr-support.patch
 delete mode 100644 target/linux/generic/pending-3.18/551-ubifs-fix-default-compression-selection.patch
 delete mode 100644 target/linux/generic/pending-3.18/600-netfilter_conntrack_flush.patch
 delete mode 100644 target/linux/generic/pending-3.18/610-netfilter_match_bypass_default_checks.patch
 delete mode 100644 target/linux/generic/pending-3.18/611-netfilter_match_bypass_default_table.patch
 delete mode 100644 target/linux/generic/pending-3.18/612-netfilter_match_reduce_memory_access.patch
 delete mode 100644 target/linux/generic/pending-3.18/613-netfilter_optional_tcp_window_check.patch
 delete mode 100644 target/linux/generic/pending-3.18/616-net_optimize_xfrm_calls.patch
 delete mode 100644 target/linux/generic/pending-3.18/621-sched_act_connmark.patch
 delete mode 100644 target/linux/generic/pending-3.18/630-packet_socket_type.patch
 delete mode 100644 target/linux/generic/pending-3.18/640-bridge_no_eap_forward.patch
 delete mode 100644 target/linux/generic/pending-3.18/641-bridge_always_accept_eap.patch
 delete mode 100644 target/linux/generic/pending-3.18/642-bridge_port_isolate.patch
 delete mode 100644 target/linux/generic/pending-3.18/645-bridge_multicast_to_unicast.patch
 delete mode 100644 target/linux/generic/pending-3.18/650-pppoe_header_pad.patch
 delete mode 100644 target/linux/generic/pending-3.18/651-wireless_mesh_header.patch
 delete mode 100644 target/linux/generic/pending-3.18/653-disable_netlink_trim.patch
 delete mode 100644 target/linux/generic/pending-3.18/655-increase_skb_pad.patch
 delete mode 100644 target/linux/generic/pending-3.18/656-skb_reduce_truesize-helper.patch
 delete mode 100644 target/linux/generic/pending-3.18/657-qdisc_reduce_truesize.patch
 delete mode 100644 target/linux/generic/pending-3.18/660-fq_codel_defaults.patch
 delete mode 100644 target/linux/generic/pending-3.18/661-fq_codel_keep_dropped_stats.patch
 delete mode 100644 target/linux/generic/pending-3.18/662-use_fq_codel_by_default.patch
 delete mode 100644 target/linux/generic/pending-3.18/663-remove_pfifo_fast.patch
 delete mode 100644 target/linux/generic/pending-3.18/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch
 delete mode 100644 target/linux/generic/pending-3.18/667-ipv6-Fixed-source-specific-default-route-handling.patch
 delete mode 100644 target/linux/generic/pending-3.18/670-ipv6-allow-rejecting-with-source-address-failed-policy.patch
 delete mode 100644 target/linux/generic/pending-3.18/671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch
 delete mode 100644 target/linux/generic/pending-3.18/680-NET-skip-GRO-for-foreign-MAC-addresses.patch
 delete mode 100644 target/linux/generic/pending-3.18/681-NET-add-of_get_mac_address_mtd.patch
 delete mode 100644 target/linux/generic/pending-3.18/700-swconfig.patch
 delete mode 100644 target/linux/generic/pending-3.18/701-phy_extension.patch
 delete mode 100644 target/linux/generic/pending-3.18/702-phy_add_aneg_done_function.patch
 delete mode 100644 target/linux/generic/pending-3.18/703-phy-add-detach-callback-to-struct-phy_driver.patch
 delete mode 100644 target/linux/generic/pending-3.18/710-phy-add-mdio_register_board_info.patch
 delete mode 100644 target/linux/generic/pending-3.18/720-phy_adm6996.patch
 delete mode 100644 target/linux/generic/pending-3.18/721-phy_packets.patch
 delete mode 100644 target/linux/generic/pending-3.18/722-phy_mvswitch.patch
 delete mode 100644 target/linux/generic/pending-3.18/723-phy_ip175c.patch
 delete mode 100644 target/linux/generic/pending-3.18/724-phy_ar8216.patch
 delete mode 100644 target/linux/generic/pending-3.18/725-phy_rtl8306.patch
 delete mode 100644 target/linux/generic/pending-3.18/726-phy_rtl8366.patch
 delete mode 100644 target/linux/generic/pending-3.18/727-phy-rtl8367.patch
 delete mode 100644 target/linux/generic/pending-3.18/728-phy-rtl8367b.patch
 delete mode 100644 target/linux/generic/pending-3.18/729-phy-tantos.patch
 delete mode 100644 target/linux/generic/pending-3.18/730-phy_b53.patch
 delete mode 100644 target/linux/generic/pending-3.18/732-phy-ar8216-led-support.patch
 delete mode 100644 target/linux/generic/pending-3.18/733-phy_mvsw61xx.patch
 delete mode 100644 target/linux/generic/pending-3.18/734-net-phy-at803x-allow-to-configure-via-pdata.patch
 delete mode 100644 target/linux/generic/pending-3.18/735-net-phy-at803x-fix-at8033-sgmii-mode.patch
 delete mode 100644 target/linux/generic/pending-3.18/760-8139cp-fixes-from-4.3.patch
 delete mode 100644 target/linux/generic/pending-3.18/773-bgmac-add-srab-switch.patch
 delete mode 100644 target/linux/generic/pending-3.18/785-hso-support-0af0-9300.patch
 delete mode 100644 target/linux/generic/pending-3.18/810-pci_disable_common_quirks.patch
 delete mode 100644 target/linux/generic/pending-3.18/811-pci_disable_usb_common_quirks.patch
 delete mode 100644 target/linux/generic/pending-3.18/821-usb-dwc2-dualrole.patch
 delete mode 100644 target/linux/generic/pending-3.18/834-ledtrig-libata.patch
 delete mode 100644 target/linux/generic/pending-3.18/840-rtc7301.patch
 delete mode 100644 target/linux/generic/pending-3.18/841-rtc_pt7c4338.patch
 delete mode 100644 target/linux/generic/pending-3.18/861-04_spi_gpio_implement_spi_delay.patch
 delete mode 100644 target/linux/generic/pending-3.18/862-gpio_spi_driver.patch
 delete mode 100644 target/linux/generic/pending-3.18/870-hifn795x_byteswap.patch
 delete mode 100644 target/linux/generic/pending-3.18/890-8250_optional_sysrq.patch
 delete mode 100644 target/linux/generic/pending-3.18/901-debloat_sock_diag.patch
 delete mode 100644 target/linux/generic/pending-3.18/902-debloat_proc.patch
 delete mode 100644 target/linux/generic/pending-3.18/904-debloat_dma_buf.patch
 delete mode 100644 target/linux/generic/pending-3.18/910-kobject_uevent.patch
 delete mode 100644 target/linux/generic/pending-3.18/911-kobject_add_broadcast_uevent.patch
 delete mode 100644 target/linux/generic/pending-3.18/921-use_preinit_as_init.patch
 delete mode 100644 target/linux/generic/pending-3.18/922-always-create-console-node-in-initramfs.patch
 delete mode 100644 target/linux/generic/pending-3.18/930-crashlog.patch
 delete mode 100644 target/linux/generic/pending-3.18/970-remove-unsane-filenames-from-deps_initramfs-list.patch
 delete mode 100644 target/linux/generic/pending-3.18/980-arm_openwrt_machtypes.patch
 delete mode 100644 target/linux/generic/pending-3.18/990-gpio_wdt.patch
 delete mode 100644 target/linux/generic/pending-3.18/995-mangle_bootargs.patch
 delete mode 100644 target/linux/generic/pending-3.18/997-device_tree_cmdline.patch
 delete mode 100644 target/linux/generic/pending-3.18/998-enable_wilink_platform_without_drivers.patch
 delete mode 100644 target/linux/generic/pending-3.18/999-seccomp_log.patch

diff --git a/package/devel/perf/Makefile b/package/devel/perf/Makefile
index 5546443a38..3d7110585c 100644
--- a/package/devel/perf/Makefile
+++ b/package/devel/perf/Makefile
@@ -26,7 +26,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/perf
   SECTION:=devel
   CATEGORY:=Development
-  DEPENDS:= +libelf +libdw +(mips||mipsel||powerpc||i386||x86_64||arm||aarch64):libunwind +libpthread +librt +objdump @!LINUX_3_18 @!IN_SDK @!TARGET_arc770 @KERNEL_PERF_EVENTS
+  DEPENDS:= +libelf +libdw +(mips||mipsel||powerpc||i386||x86_64||arm||aarch64):libunwind +libpthread +librt +objdump @!IN_SDK @!TARGET_arc770 @KERNEL_PERF_EVENTS
   TITLE:=Linux performance monitoring tool
   VERSION:=$(LINUX_VERSION)-$(PKG_RELEASE)
   URL:=http://www.kernel.org
diff --git a/package/kernel/kmod-sched-cake/Makefile b/package/kernel/kmod-sched-cake/Makefile
index 41a1ece637..35446641ab 100644
--- a/package/kernel/kmod-sched-cake/Makefile
+++ b/package/kernel/kmod-sched-cake/Makefile
@@ -26,7 +26,7 @@ define KernelPackage/sched-cake
   URL:=https://github.com/dtaht/sch_cake
   FILES:=$(PKG_BUILD_DIR)/sch_cake.ko
   AUTOLOAD:=$(call AutoLoad,75,sch_cake)
-  DEPENDS:=+kmod-ipt-conntrack @!LINUX_3_18
+  DEPENDS:=+kmod-ipt-conntrack
 endef
 
 include $(INCLUDE_DIR)/kernel-defaults.mk
diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk
index d73c8fc4d7..3bc607c12e 100644
--- a/package/kernel/linux/modules/block.mk
+++ b/package/kernel/linux/modules/block.mk
@@ -209,7 +209,7 @@ $(eval $(call KernelPackage,block2mtd))
 define KernelPackage/dax
   SUBMENU:=$(BLOCK_MENU)
   TITLE:=DAX: direct access to differentiated memory
-  DEPENDS:=@!LINUX_3_18 @!LINUX_4_9
+  DEPENDS:=@!LINUX_4_9
   KCONFIG:=CONFIG_DAX
   FILES:=$(LINUX_DIR)/drivers/dax/dax.ko
 endef
@@ -220,7 +220,7 @@ $(eval $(call KernelPackage,dax))
 define KernelPackage/dm
   SUBMENU:=$(BLOCK_MENU)
   TITLE:=Device Mapper
-  DEPENDS:=+kmod-crypto-manager +!(LINUX_3_18||LINUX_4_9):kmod-dax
+  DEPENDS:=+kmod-crypto-manager +!LINUX_4_9:kmod-dax
   # All the "=n" are unnecessary, they're only there
   # to stop the config from asking the question.
   # MIRROR is M because I've needed it for pvmove.
@@ -337,7 +337,7 @@ $(eval $(call KernelPackage,md-raid10))
 
 
 define KernelPackage/md-raid456
-$(call KernelPackage/md/Depends,+kmod-lib-raid6 +kmod-lib-xor +!LINUX_3_18:kmod-lib-crc32c)
+$(call KernelPackage/md/Depends,+kmod-lib-raid6 +kmod-lib-xor +kmod-lib-crc32c)
   TITLE:=RAID Level 456 Driver
   KCONFIG:= \
        CONFIG_ASYNC_CORE \
diff --git a/package/kernel/linux/modules/can.mk b/package/kernel/linux/modules/can.mk
index b0d254511b..5393381a17 100644
--- a/package/kernel/linux/modules/can.mk
+++ b/package/kernel/linux/modules/can.mk
@@ -99,7 +99,7 @@ $(eval $(call KernelPackage,can-c-can-pci))
 define KernelPackage/can-c-can-platform
   TITLE:=Platform Bus based BOSCH C_CAN/D_CAN driver
   KCONFIG:=CONFIG_CAN_C_CAN_PLATFORM
-  DEPENDS:=kmod-can-c-can +!LINUX_3_18:kmod-regmap-core
+  DEPENDS:=kmod-can-c-can +kmod-regmap-core
   FILES:=$(LINUX_DIR)/drivers/net/can/c_can/c_can_platform.ko
   AUTOLOAD:=$(call AutoProbe,c_can_platform)
   $(call AddDepends/can)
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index d70eb924c3..909baa279f 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -40,7 +40,7 @@ define KernelPackage/crypto-aead
 	CONFIG_CRYPTO_AEAD2
   FILES:=$(LINUX_DIR)/crypto/aead.ko
   AUTOLOAD:=$(call AutoLoad,09,aead,1)
-  $(call AddDepends/crypto, +!LINUX_3_18:kmod-crypto-null)
+  $(call AddDepends/crypto, +kmod-crypto-null)
 endef
 
 $(eval $(call KernelPackage,crypto-aead))
@@ -48,7 +48,7 @@ $(eval $(call KernelPackage,crypto-aead))
 
 define KernelPackage/crypto-authenc
   TITLE:=Combined mode wrapper for IPsec
-  DEPENDS:=+kmod-crypto-manager +!LINUX_3_18:kmod-crypto-null
+  DEPENDS:=+kmod-crypto-manager +kmod-crypto-null
   KCONFIG:=CONFIG_CRYPTO_AUTHENC
   FILES:=$(LINUX_DIR)/crypto/authenc.ko
   AUTOLOAD:=$(call AutoLoad,09,authenc)
@@ -145,7 +145,7 @@ $(eval $(call KernelPackage,crypto-cts))
 
 define KernelPackage/crypto-deflate
   TITLE:=Deflate compression CryptoAPI module
-  DEPENDS:=+kmod-lib-zlib-inflate +kmod-lib-zlib-deflate +!(LINUX_3_18||LINUX_4_9):kmod-crypto-acompress
+  DEPENDS:=+kmod-lib-zlib-inflate +kmod-lib-zlib-deflate +!LINUX_4_9:kmod-crypto-acompress
   KCONFIG:=CONFIG_CRYPTO_DEFLATE
   FILES:=$(LINUX_DIR)/crypto/deflate.ko
   AUTOLOAD:=$(call AutoLoad,09,deflate)
@@ -180,7 +180,7 @@ $(eval $(call KernelPackage,crypto-ecb))
 
 define KernelPackage/crypto-ecdh
   TITLE:=ECDH algorithm
-  DEPENDS:=@!LINUX_3_18 +kmod-crypto-kpp
+  DEPENDS:=+kmod-crypto-kpp
   KCONFIG:= CONFIG_CRYPTO_ECDH
   FILES:= \
 	$(LINUX_DIR)/crypto/ecdh_generic.ko
@@ -274,7 +274,7 @@ $(eval $(call KernelPackage,crypto-hmac))
 
 define KernelPackage/crypto-hw-ccp
   TITLE:=AMD Cryptographic Coprocessor
-  DEPENDS:=+kmod-crypto-authenc +kmod-crypto-hash +kmod-crypto-manager +kmod-random-core +kmod-crypto-sha1 +kmod-crypto-sha256 +!(LINUX_3_18||LINUX_4_9):kmod-crypto-rsa
+  DEPENDS:=+kmod-crypto-authenc +kmod-crypto-hash +kmod-crypto-manager +kmod-random-core +kmod-crypto-sha1 +kmod-crypto-sha256 +!LINUX_4_9:kmod-crypto-rsa
   KCONFIG:= \
 	CONFIG_CRYPTO_HW=y \
 	CONFIG_CRYPTO_DEV_CCP=y \
@@ -571,7 +571,7 @@ $(eval $(call KernelPackage,crypto-pcompress))
 
 define KernelPackage/crypto-rsa
   TITLE:=RSA algorithm
-  DEPENDS:=@!LINUX_3_18 +kmod-crypto-manager +kmod-asn1-decoder
+  DEPENDS:=+kmod-crypto-manager +kmod-asn1-decoder
   KCONFIG:= CONFIG_CRYPTO_RSA
   HIDDEN:=1
   FILES:= \
diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk
index edd2774a63..12290e94b5 100644
--- a/package/kernel/linux/modules/fs.mk
+++ b/package/kernel/linux/modules/fs.mk
@@ -68,7 +68,7 @@ $(eval $(call KernelPackage,fs-autofs4))
 define KernelPackage/fs-btrfs
   SUBMENU:=$(FS_MENU)
   TITLE:=BTRFS filesystem support
-  DEPENDS:=+kmod-lib-crc32c +kmod-lib-lzo +kmod-lib-zlib-inflate +kmod-lib-zlib-deflate +kmod-lib-raid6 +kmod-lib-xor +!(LINUX_3_18||LINUX_4_9):kmod-lib-zstd
+  DEPENDS:=+kmod-lib-crc32c +kmod-lib-lzo +kmod-lib-zlib-inflate +kmod-lib-zlib-deflate +kmod-lib-raid6 +kmod-lib-xor +!LINUX_4_9:kmod-lib-zstd
   KCONFIG:=\
 	CONFIG_BTRFS_FS \
 	CONFIG_BTRFS_FS_POSIX_ACL=n \
diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk
index bf2860881e..e79304b4fe 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -112,7 +112,7 @@ define KernelPackage/hwmon-ina2xx
   KCONFIG:=CONFIG_SENSORS_INA2XX
   FILES:=$(LINUX_DIR)/drivers/hwmon/ina2xx.ko
   AUTOLOAD:=$(call AutoProbe,ina2xx)
-  $(call AddDepends/hwmon,+kmod-i2c-core +!LINUX_3_18:kmod-regmap-i2c)
+  $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
 endef
 
 define KernelPackage/hwmon-ina2xx/description
diff --git a/package/kernel/linux/modules/iio.mk b/package/kernel/linux/modules/iio.mk
index 44a4806b34..f293aeb38c 100644
--- a/package/kernel/linux/modules/iio.mk
+++ b/package/kernel/linux/modules/iio.mk
@@ -132,7 +132,7 @@ $(eval $(call KernelPackage,iio-dht11))
 define KernelPackage/iio-bmp280
   SUBMENU:=$(IIO_MENU)
   TITLE:=BMP180/BMP280/BME280 pressure/temperatur sensor
-  DEPENDS:=@!LINUX_3_18 +kmod-iio-core +kmod-regmap-core
+  DEPENDS:=+kmod-iio-core +kmod-regmap-core
   KCONFIG:=CONFIG_BMP280
   FILES:=$(LINUX_DIR)/drivers/iio/pressure/bmp280.ko
 endef
diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux/modules/lib.mk
index b0d19ff8bd..3e5a12e926 100644
--- a/package/kernel/linux/modules/lib.mk
+++ b/package/kernel/linux/modules/lib.mk
@@ -101,7 +101,7 @@ $(eval $(call KernelPackage,lib-crc32c))
 define KernelPackage/lib-lzo
   SUBMENU:=$(LIB_MENU)
   TITLE:=LZO support
-  DEPENDS:=+!(LINUX_3_18||LINUX_4_9):kmod-crypto-acompress
+  DEPENDS:=+!LINUX_4_9:kmod-crypto-acompress
   KCONFIG:= \
 	CONFIG_CRYPTO_LZO at ge4.9 \
 	CONFIG_LZO_COMPRESS \
@@ -146,7 +146,7 @@ $(eval $(call KernelPackage,lib-zstd))
 define KernelPackage/lib-lz4
   SUBMENU:=$(LIB_MENU)
   TITLE:=LZ4 support
-  DEPENDS:=+!(LINUX_3_18||LINUX_4_9):kmod-crypto-acompress
+  DEPENDS:=+!LINUX_4_9:kmod-crypto-acompress
   HIDDEN:=1
   KCONFIG:= \
 	CONFIG_CRYPTO_LZ4 at ge4.9 \
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index fbc24b8405..8c27998506 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -700,7 +700,7 @@ define KernelPackage/tg3
   TITLE:=Broadcom Tigon3 Gigabit Ethernet
   KCONFIG:=CONFIG_TIGON3 \
 	CONFIG_TIGON3_HWMON=n
-  DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +(LINUX_3_18||LINUX_4_9):kmod-hwmon-core +kmod-ptp
+  DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +LINUX_4_9:kmod-hwmon-core +kmod-ptp
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
   AUTOLOAD:=$(call AutoLoad,19,tg3,1)
diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk
index 6c78394297..6b566b0c3e 100644
--- a/package/kernel/linux/modules/netfilter.mk
+++ b/package/kernel/linux/modules/netfilter.mk
@@ -152,7 +152,7 @@ define KernelPackage/nf-flow
 	CONFIG_NETFILTER_INGRESS=y \
 	CONFIG_NF_FLOW_TABLE \
 	CONFIG_NF_FLOW_TABLE_HW
-  DEPENDS:=+kmod-nf-conntrack @!LINUX_3_18 @!LINUX_4_9
+  DEPENDS:=+kmod-nf-conntrack @!LINUX_4_9
   FILES:= \
 	$(LINUX_DIR)/net/netfilter/nf_flow_table.ko \
 	$(LINUX_DIR)/net/netfilter/nf_flow_table_hw.ko
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index 003603f10b..d1ab471ba2 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -725,7 +725,6 @@ SCHED_FILES_EXTRA = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(SCHED_MODULES_EXT
 define KernelPackage/sched-core
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   TITLE:=Traffic schedulers
-  DEPENDS:=@!LINUX_3_18
   KCONFIG:= \
 	CONFIG_NET_SCHED=y \
 	CONFIG_NET_SCH_HFSC \
@@ -785,7 +784,6 @@ $(eval $(call KernelPackage,sched-ipset))
 define KernelPackage/sched-bpf
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   TITLE:=Traffic shaper support for Berkeley Packet Filter
-  DEPENDS:=@!LINUX_3_18
   KCONFIG:= \
 	CONFIG_NET_CLS_BPF \
 	CONFIG_NET_ACT_BPF
@@ -801,7 +799,6 @@ $(eval $(call KernelPackage,sched-bpf))
 define KernelPackage/bpf-test
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   TITLE:=Test Berkeley Packet Filter functionality
-  DEPENDS:=@!LINUX_3_18
   KCONFIG:=CONFIG_TEST_BPF
   FILES:=$(LINUX_DIR)/lib/test_bpf.ko
 endef
@@ -849,7 +846,7 @@ $(eval $(call KernelPackage,sched))
 define KernelPackage/tcp-bbr
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   TITLE:=BBR TCP congestion control
-  DEPENDS:=@!LINUX_3_18 +LINUX_4_9:kmod-sched
+  DEPENDS:=+LINUX_4_9:kmod-sched
   KCONFIG:= \
 	CONFIG_TCP_CONG_ADVANCED=y \
 	CONFIG_TCP_CONG_BBR
@@ -1065,7 +1062,7 @@ $(eval $(call KernelPackage,rxrpc))
 define KernelPackage/mpls
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   TITLE:=MPLS support
-  DEPENDS:=@!LINUX_3_18 +LINUX_4_19:kmod-iptunnel
+  DEPENDS:=+LINUX_4_19:kmod-iptunnel
   KCONFIG:= \
 	CONFIG_MPLS=y \
 	CONFIG_LWTUNNEL=y \
@@ -1142,7 +1139,7 @@ $(eval $(call KernelPackage,mdio))
 define KernelPackage/macsec
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   TITLE:=IEEE 802.1AE MAC-level encryption (MAC)
-  DEPENDS:=+kmod-crypto-gcm @!LINUX_3_18
+  DEPENDS:=+kmod-crypto-gcm
   KCONFIG:=CONFIG_MACSEC
   FILES:=$(LINUX_DIR)/drivers/net/macsec.ko
   AUTOLOAD:=$(call AutoLoad,13,macsec)
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index f5a210f96b..377ed2d2b4 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -30,7 +30,7 @@ $(eval $(call KernelPackage,6lowpan))
 define KernelPackage/bluetooth
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Bluetooth support
-  DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +kmod-crypto-ecb +kmod-lib-crc16 +kmod-hid +!LINUX_3_18:kmod-crypto-cmac +!LINUX_3_18:kmod-regmap-core +!(LINUX_3_18||LINUX_4_9):kmod-crypto-ecdh
+  DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +kmod-crypto-ecb +kmod-lib-crc16 +kmod-hid +kmod-crypto-cmac +kmod-regmap-core +!LINUX_4_9:kmod-crypto-ecdh
   KCONFIG:= \
 	CONFIG_BT \
 	CONFIG_BT_BREDR=y \
@@ -219,7 +219,7 @@ $(eval $(call KernelPackage,gpio-dev))
 define KernelPackage/gpio-mcp23s08
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Microchip MCP23xxx I/O expander
-  DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core +!(LINUX_3_18||LINUX_4_9):kmod-regmap-i2c
+  DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core +!LINUX_4_9:kmod-regmap-i2c
   KCONFIG:= \
 	CONFIG_GPIO_MCP23S08 \
 	CONFIG_PINCTRL_MCP23S08
@@ -476,7 +476,7 @@ define KernelPackage/rtc-ds1307
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Dallas/Maxim DS1307 (and compatible) RTC support
   DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
-  DEPENDS:=+kmod-i2c-core +!(LINUX_3_18||LINUX_4_9):kmod-regmap-i2c +!(LINUX_3_18||LINUX_4_9):kmod-hwmon-core
+  DEPENDS:=+kmod-i2c-core +!LINUX_4_9:kmod-regmap-i2c +!LINUX_4_9:kmod-hwmon-core
   KCONFIG:=CONFIG_RTC_DRV_DS1307 \
 	CONFIG_RTC_CLASS=y
   FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1307.ko
@@ -1020,7 +1020,7 @@ $(eval $(call KernelPackage,echo))
 define KernelPackage/bmp085
   SUBMENU:=$(OTHER_MENU)
   TITLE:=BMP085/BMP18x pressure sensor
-  DEPENDS:= +kmod-regmap-core @!LINUX_3_18
+  DEPENDS:= +kmod-regmap-core
   KCONFIG:= CONFIG_BMP085
   FILES:= $(LINUX_DIR)/drivers/misc/bmp085.ko
 endef
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 88bb4a91eb..feae12e056 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -39,7 +39,6 @@ endef
 define KernelPackage/usb-ledtrig-usbport
   TITLE:=LED trigger for USB ports
   KCONFIG:=CONFIG_USB_LEDS_TRIGGER_USBPORT
-  DEPENDS:=@!LINUX_3_18
   FILES:=$(LINUX_DIR)/drivers/usb/core/ledtrig-usbport.ko
   AUTOLOAD:=$(call AutoLoad,50,ledtrig-usbport)
   $(call AddDepends/usb)
diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index f11431dc2d..ef67266b39 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -187,7 +187,7 @@ define KernelPackage/fb-tft
   SUBMENU:=$(VIDEO_MENU)
   TITLE:=Support for small TFT LCD display modules
   DEPENDS:= \
-	  @GPIO_SUPPORT @!LINUX_3_18 @!LINUX_4_9 +kmod-backlight \
+	  @GPIO_SUPPORT @!LINUX_4_9 +kmod-backlight \
 	  +kmod-fb +kmod-fb-sys-fops +kmod-fb-sys-ram +kmod-spi-bitbang
   KCONFIG:= \
        CONFIG_FB_BACKLIGHT=y \
@@ -400,7 +400,7 @@ endef
 
 define KernelPackage/video-videobuf2
   TITLE:=videobuf2 lib
-  DEPENDS:=+kmod-dma-buf @!LINUX_3_18
+  DEPENDS:=+kmod-dma-buf
   KCONFIG:= \
 	CONFIG_VIDEOBUF2_CORE \
 	CONFIG_VIDEOBUF2_MEMOPS \
diff --git a/package/kernel/linux/modules/w1.mk b/package/kernel/linux/modules/w1.mk
index baf6b06625..5055d78a18 100644
--- a/package/kernel/linux/modules/w1.mk
+++ b/package/kernel/linux/modules/w1.mk
@@ -14,7 +14,7 @@ define KernelPackage/w1
   TITLE:=Dallas's 1-wire support
   KCONFIG:=CONFIG_W1
   FILES:=$(LINUX_DIR)/drivers/w1/wire.ko
-  DEPENDS:=+!(LINUX_3_18||LINUX_4_9):kmod-hwmon-core
+  DEPENDS:=+!LINUX_4_9:kmod-hwmon-core
 endef
 
 define KernelPackage/w1/description
diff --git a/package/kernel/linux/modules/wpan.mk b/package/kernel/linux/modules/wpan.mk
index d8d58fa0bc..b06d7647f5 100644
--- a/package/kernel/linux/modules/wpan.mk
+++ b/package/kernel/linux/modules/wpan.mk
@@ -9,7 +9,6 @@ WPAN_MENU:=WPAN 802.15.4 Support
 define KernelPackage/ieee802154
   SUBMENU:=$(WPAN_MENU)
   TITLE:=IEEE-802.15.4 support
-  DEPENDS:=@!LINUX_3_18
   KCONFIG:= \
 	CONFIG_IEEE802154 \
 	CONFIG_IEEE802154_SOCKET=y \
@@ -33,7 +32,7 @@ $(eval $(call KernelPackage,ieee802154))
 define KernelPackage/mac802154
   SUBMENU:=$(WPAN_MENU)
   TITLE:=MAC-802.15.4 support
-  DEPENDS:=+kmod-ieee802154 +kmod-crypto-aead +kmod-lib-crc-ccitt @!LINUX_3_18
+  DEPENDS:=+kmod-ieee802154 +kmod-crypto-aead +kmod-lib-crc-ccitt
   KCONFIG:= \
 	CONFIG_MAC802154 \
 	CONFIG_IEEE802154_DRIVERS=y
@@ -56,7 +55,7 @@ $(eval $(call KernelPackage,mac802154))
 define KernelPackage/fakelb
   SUBMENU:=$(WPAN_MENU)
   TITLE:=Fake LR-WPAN driver
-  DEPENDS:=+kmod-mac802154 @!LINUX_3_18
+  DEPENDS:=+kmod-mac802154
   KCONFIG:=CONFIG_IEEE802154_FAKELB
   FILES:=$(LINUX_DIR)/drivers/net/ieee802154/fakelb.ko
   AUTOLOAD:=$(call AutoLoad,92,fakelb)
@@ -109,7 +108,7 @@ $(eval $(call KernelPackage,cc2520))
 define KernelPackage/ieee802154_6lowpan
   SUBMENU:=$(WPAN_MENU)
   TITLE:= 6LoWPAN support over IEEE-802.15.4
-  DEPENDS:=@!LINUX_3_18 +kmod-6lowpan +kmod-ieee802154
+  DEPENDS:=+kmod-6lowpan +kmod-ieee802154
   KCONFIG:=CONFIG_IEEE802154_6LOWPAN
   FILES:= \
 	$(LINUX_DIR)/net/ieee802154/6lowpan/ieee802154_6lowpan.ko at ge4.0 \
diff --git a/package/kernel/mac80211/intel.mk b/package/kernel/mac80211/intel.mk
index 71494fe0ce..a8ae4ff7c7 100644
--- a/package/kernel/mac80211/intel.mk
+++ b/package/kernel/mac80211/intel.mk
@@ -15,7 +15,7 @@ config-$(call config_package,ipw2200) += IPW2200
 
 define KernelPackage/iwlwifi
   $(call KernelPackage/mac80211/Default)
-  DEPENDS:= +kmod-mac80211 @PCI_SUPPORT + at DRIVER_11N_SUPPORT + at DRIVER_11AC_SUPPORT + at DRIVER_11W_SUPPORT @!LINUX_3_18
+  DEPENDS:= +kmod-mac80211 @PCI_SUPPORT + at DRIVER_11N_SUPPORT + at DRIVER_11AC_SUPPORT + at DRIVER_11W_SUPPORT
   TITLE:=Intel AGN Wireless support
   FILES:= \
 	$(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko \
@@ -124,7 +124,7 @@ endef
 define KernelPackage/libipw
   $(call KernelPackage/mac80211/Default)
   TITLE:=libipw for ipw2100 and ipw2200
-  DEPENDS:=@PCI_SUPPORT +kmod-crypto-michael-mic +kmod-crypto-ecb +kmod-lib80211 +kmod-cfg80211 + at DRIVER_WEXT_SUPPORT @!BIG_ENDIAN @!LINUX_3_18
+  DEPENDS:=@PCI_SUPPORT +kmod-crypto-michael-mic +kmod-crypto-ecb +kmod-lib80211 +kmod-cfg80211 + at DRIVER_WEXT_SUPPORT @!BIG_ENDIAN
   FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/ipw2x00/libipw.ko
   AUTOLOAD:=$(call AutoProbe,libipw)
 endef
diff --git a/package/kernel/mac80211/marvell.mk b/package/kernel/mac80211/marvell.mk
index 4e2f925b73..a0e67091e5 100644
--- a/package/kernel/mac80211/marvell.mk
+++ b/package/kernel/mac80211/marvell.mk
@@ -11,7 +11,7 @@ config-$(call config_package,mwifiex-sdio) += MWIFIEX MWIFIEX_SDIO
 
 define KernelPackage/libertas-usb
   $(call KernelPackage/mac80211/Default)
-  DEPENDS+= @USB_SUPPORT +kmod-cfg80211 +kmod-usb-core +kmod-lib80211 + at DRIVER_WEXT_SUPPORT +libertas-usb-firmware @!LINUX_3_18
+  DEPENDS+= @USB_SUPPORT +kmod-cfg80211 +kmod-usb-core +kmod-lib80211 + at DRIVER_WEXT_SUPPORT +libertas-usb-firmware
   TITLE:=Marvell 88W8015 Wireless Driver
   FILES:= \
 	$(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \
@@ -21,7 +21,7 @@ endef
 
 define KernelPackage/libertas-sdio
   $(call KernelPackage/mac80211/Default)
-  DEPENDS+= +kmod-cfg80211 +kmod-lib80211 +kmod-mmc + at DRIVER_WEXT_SUPPORT @!TARGET_uml +libertas-sdio-firmware @!LINUX_3_18
+  DEPENDS+= +kmod-cfg80211 +kmod-lib80211 +kmod-mmc + at DRIVER_WEXT_SUPPORT @!TARGET_uml +libertas-sdio-firmware
   TITLE:=Marvell 88W8686 Wireless Driver
   FILES:= \
 	$(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \
@@ -32,7 +32,7 @@ endef
 define KernelPackage/libertas-spi
   $(call KernelPackage/mac80211/Default)
   SUBMENU:=Wireless Drivers
-  DEPENDS+= +kmod-cfg80211 +kmod-lib80211 + at DRIVER_WEXT_SUPPORT @!TARGET_uml +libertas-spi-firmware @!LINUX_3_18
+  DEPENDS+= +kmod-cfg80211 +kmod-lib80211 + at DRIVER_WEXT_SUPPORT @!TARGET_uml +libertas-spi-firmware
   KCONFIG := \
 	CONFIG_SPI=y \
 	CONFIG_SPI_MASTER=y
diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile
index e2b5feab9c..da8b419c73 100644
--- a/package/kernel/mt76/Makefile
+++ b/package/kernel/mt76/Makefile
@@ -33,7 +33,7 @@ include $(INCLUDE_DIR)/package.mk
 define KernelPackage/mt76-default
   SUBMENU:=Wireless Drivers
   DEPENDS:= \
-	+kmod-mac80211 @!LINUX_3_18 \
+	+kmod-mac80211 \
 	+ at DRIVER_11AC_SUPPORT + at DRIVER_11N_SUPPORT + at DRIVER_11W_SUPPORT
 endef
 
diff --git a/package/kernel/rotary-gpio-custom/Makefile b/package/kernel/rotary-gpio-custom/Makefile
deleted file mode 100644
index 380659025b..0000000000
--- a/package/kernel/rotary-gpio-custom/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Copyright (C) 2008-2010 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-include $(INCLUDE_DIR)/kernel.mk
-
-PKG_NAME:=rotary-gpio-custom
-PKG_RELEASE:=1
-
-include $(INCLUDE_DIR)/package.mk
-
-define KernelPackage/rotary-gpio-custom
-  SUBMENU:=Other modules
-  TITLE:=Custom GPIO-based rotary encoder device
-  DEPENDS:=@GPIO_SUPPORT +kmod-input-gpio-encoder @LINUX_3_18
-  FILES:=$(PKG_BUILD_DIR)/rotary-gpio-custom.ko
-  KCONFIG:=
-endef
-
-define KernelPackage/rotary-gpio-custom/description
- Kernel module for register a custom rotary-gpio-encoder platform device.
-endef
-
-EXTRA_KCONFIG:= \
-	CONFIG_ROTARY_GPIO_CUSTOM=m
-
-EXTRA_CFLAGS:= \
-	$(patsubst CONFIG_%, -DCONFIG_%=1, $(patsubst %=m,%,$(filter %=m,$(EXTRA_KCONFIG)))) \
-	$(patsubst CONFIG_%, -DCONFIG_%=1, $(patsubst %=y,%,$(filter %=y,$(EXTRA_KCONFIG)))) \
-
-MAKE_OPTS:= \
-	$(KERNEL_MAKE_FLAGS) \
-	SUBDIRS="$(PKG_BUILD_DIR)" \
-	EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
-	$(EXTRA_KCONFIG)
-
-define Build/Compile
-	$(MAKE) -C "$(LINUX_DIR)" \
-		$(MAKE_OPTS) \
-		modules
-endef
-
-$(eval $(call KernelPackage,rotary-gpio-custom))
diff --git a/package/kernel/rotary-gpio-custom/src/Kconfig b/package/kernel/rotary-gpio-custom/src/Kconfig
deleted file mode 100644
index b4d55d5354..0000000000
--- a/package/kernel/rotary-gpio-custom/src/Kconfig
+++ /dev/null
@@ -1,9 +0,0 @@
-config ROTARY_GPIO_CUSTOM
-	tristate "Custom GPIO-based rotary driver"
-	depends on GENERIC_GPIO
-	help
-	  This is a driver to register 1 to 4 custom rotary encoder using
-	  GPIO lines.
-
-	  This support is also available as a module.  If so, the module
-	  will be called rotary-gpio-custom.
diff --git a/package/kernel/rotary-gpio-custom/src/Makefile b/package/kernel/rotary-gpio-custom/src/Makefile
deleted file mode 100644
index 133672687b..0000000000
--- a/package/kernel/rotary-gpio-custom/src/Makefile
+++ /dev/null
@@ -1 +0,0 @@
-obj-${CONFIG_ROTARY_GPIO_CUSTOM}	+= rotary-gpio-custom.o
diff --git a/package/kernel/rotary-gpio-custom/src/rotary-gpio-custom.c b/package/kernel/rotary-gpio-custom/src/rotary-gpio-custom.c
deleted file mode 100644
index 9a16e45287..0000000000
--- a/package/kernel/rotary-gpio-custom/src/rotary-gpio-custom.c
+++ /dev/null
@@ -1,193 +0,0 @@
-/*
- *  Custom GPIO-based rotary driver
- *
- *  Copyright (C) 2010 Claudio Mignanti <c.mignanti at gmail.com>
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License version 2 as
- *  published by the Free Software Foundation.
- *
- *  Strongly based on Custom GPIO-based I2C driver by:
- *  Copyright (C) 2007-2008 Gabor Juhos <juhosg at openwrt.org>
- *
- * ---------------------------------------------------------------------------
- *
- *  The behaviour of this driver can be altered by setting some parameters
- *  from the insmod command line.
- *
- *  The following parameters are adjustable:
- *
- *	bus0	These four arguments can be arrays of
- *	bus1	1-8 unsigned integers as follows:
- *	bus2
- *	bus3	<id>,<steps>,<axis>,<gpioa>,<gpiob>,<inverted>
- *
- *
- *  If this driver is built into the kernel, you can use the following kernel
- *  command line parameters, with the same values as the corresponding module
- *  parameters listed above:
- *
- *	rotary-gpio-custom.bus0
- *	rotary-gpio-custom.bus1
- *	rotary-gpio-custom.bus2
- *	rotary-gpio-custom.bus3
- */
-
-#include <linux/kernel.h>
-#include <linux/module.h>
-#include <linux/init.h>
-#include <linux/input.h>
-#include <linux/platform_device.h>
-#include <linux/rotary_encoder.h>
-
-#define DRV_NAME	"rotary-gpio-custom"
-#define DRV_DESC	"Custom GPIO-based rotary driver"
-#define DRV_VERSION	"0.1.0"
-
-#define PFX		DRV_NAME ": "
-
-#define BUS_PARAM_REQUIRED	5
-#define BUS_PARAM_COUNT		6
-#define BUS_COUNT_MAX		4
-
-static unsigned int bus0[BUS_PARAM_COUNT] __initdata;
-static unsigned int bus1[BUS_PARAM_COUNT] __initdata;
-static unsigned int bus2[BUS_PARAM_COUNT] __initdata;
-static unsigned int bus3[BUS_PARAM_COUNT] __initdata;
-
-static unsigned int bus_nump[BUS_COUNT_MAX] __initdata;
-
-#define BUS_PARM_DESC \
-	" config -> id,steps,axis,gpioa,gpiob[,inverted]"
-
-module_param_array(bus0, uint, &bus_nump[0], 0);
-MODULE_PARM_DESC(bus0, "bus0" BUS_PARM_DESC);
-module_param_array(bus1, uint, &bus_nump[1], 0);
-MODULE_PARM_DESC(bus1, "bus1" BUS_PARM_DESC);
-module_param_array(bus2, uint, &bus_nump[2], 0);
-MODULE_PARM_DESC(bus2, "bus2" BUS_PARM_DESC);
-module_param_array(bus3, uint, &bus_nump[3], 0);
-MODULE_PARM_DESC(bus3, "bus3" BUS_PARM_DESC);
-
-static struct platform_device *devices[BUS_COUNT_MAX];
-static unsigned int nr_devices;
-
-static void rotary_gpio_custom_cleanup(void)
-{
-	int i;
-
-	for (i = 0; i < nr_devices; i++)
-		if (devices[i])
-			platform_device_put(devices[i]);
-}
-
-static int __init rotary_gpio_custom_add_one(unsigned int id,
-					     unsigned int *params)
-{
-	struct platform_device *pdev;
-	struct rotary_encoder_platform_data pdata;
-	int err;
-
-	if (!bus_nump[id])
-		return 0;
-
-	if (bus_nump[id] < BUS_PARAM_REQUIRED) {
-		printk(KERN_ERR PFX "not enough parameters for bus%d\n", id);
-		err = -EINVAL;
-		goto err;
-	}
-
-	pdev = platform_device_alloc("rotary-gpio", params[0]);
-	if (!pdev) {
-		err = -ENOMEM;
-		goto err;
-	}
-
-	pdata.steps = params[1];
-	pdata.axis = params[2];
-	pdata.relative_axis = false;
-	pdata.rollover = false;
-	pdata.gpio_a = params[3];
-	pdata.gpio_b = params[4];
-
-	if (params[5] == 1) {
-		pdata.inverted_a = 1;
-		pdata.inverted_b = 1;
-	} else {
-		pdata.inverted_a = 0;
-		pdata.inverted_b = 0;
-	}
-
-	err = platform_device_add_data(pdev, &pdata, sizeof(pdata));
-	if (err)
-		goto err_put;
-
-	err = platform_device_add(pdev);
-	if (err)
-		goto err_put;
-
-	devices[nr_devices++] = pdev;
-	return 0;
-
-err_put:
-	platform_device_put(pdev);
-err:
-	return err;
-}
-
-static int __init rotary_gpio_custom_probe(void)
-{
-	int err;
-
-	printk(KERN_INFO DRV_DESC " version " DRV_VERSION "\n");
-
-	err = rotary_gpio_custom_add_one(0, bus0);
-	if (err)
-		goto err;
-
-	err = rotary_gpio_custom_add_one(1, bus1);
-	if (err)
-		goto err;
-
-	err = rotary_gpio_custom_add_one(2, bus2);
-	if (err)
-		goto err;
-
-	err = rotary_gpio_custom_add_one(3, bus3);
-	if (err)
-		goto err;
-
-	if (!nr_devices) {
-		printk(KERN_ERR PFX "no bus parameter(s) specified\n");
-		err = -ENODEV;
-		goto err;
-	}
-
-	return 0;
-
-err:
-	rotary_gpio_custom_cleanup();
-	return err;
-}
-
-#ifdef MODULE
-static int __init rotary_gpio_custom_init(void)
-{
-	return rotary_gpio_custom_probe();
-}
-module_init(rotary_gpio_custom_init);
-
-static void __exit rotary_gpio_custom_exit(void)
-{
-	rotary_gpio_custom_cleanup();
-}
-module_exit(rotary_gpio_custom_exit);
-#else
-subsys_initcall(rotary_gpio_custom_probe);
-#endif /* MODULE*/
-
-MODULE_LICENSE("GPL v2");
-MODULE_AUTHOR("Gabor Juhos <juhosg at openwrt.org >");
-MODULE_AUTHOR("Claudio Mignanti <c.mignanti at gmail.com>");
-MODULE_DESCRIPTION(DRV_DESC);
-MODULE_VERSION(DRV_VERSION);
diff --git a/package/kernel/rtl8812au-ct/Makefile b/package/kernel/rtl8812au-ct/Makefile
index 3afbc14db4..5c70dbd1e7 100644
--- a/package/kernel/rtl8812au-ct/Makefile
+++ b/package/kernel/rtl8812au-ct/Makefile
@@ -24,7 +24,7 @@ include $(INCLUDE_DIR)/package.mk
 define KernelPackage/rtl8812au-ct
   SUBMENU:=Wireless Drivers
   TITLE:=Driver for Realtek 8812 AU devices comfast 912-ac, etc
-  DEPENDS:=+kmod-cfg80211 +kmod-usb-core + at DRIVER_11N_SUPPORT + at DRIVER_11AC_SUPPORT @!LINUX_3_18 @!LINUX_4_9
+  DEPENDS:=+kmod-cfg80211 +kmod-usb-core + at DRIVER_11N_SUPPORT + at DRIVER_11AC_SUPPORT @!LINUX_4_9
   FILES:=\
 	$(PKG_BUILD_DIR)/rtl8812au.ko
   AUTOLOAD:=$(call AutoProbe,rtl8812au)
diff --git a/package/libs/openssl/Config.in b/package/libs/openssl/Config.in
index ecb9eea389..3b7fddc78d 100644
--- a/package/libs/openssl/Config.in
+++ b/package/libs/openssl/Config.in
@@ -265,7 +265,7 @@ config OPENSSL_ENGINE_BUILTIN
 config OPENSSL_ENGINE_BUILTIN_AFALG
 	bool
 	prompt "Acceleration support through AF_ALG sockets engine"
-	depends on OPENSSL_ENGINE_BUILTIN && KERNEL_AIO && !LINUX_3_18
+	depends on OPENSSL_ENGINE_BUILTIN && KERNEL_AIO
 	select PACKAGE_libopenssl-conf
 	help
 		This enables use of hardware acceleration through the
diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile
index cb25c5557c..b4d15a6f0c 100644
--- a/package/libs/openssl/Makefile
+++ b/package/libs/openssl/Makefile
@@ -138,7 +138,7 @@ define Package/libopenssl-afalg
   $(call Package/openssl/Default)
   SUBMENU:=SSL
   TITLE:=AFALG hardware acceleration engine
-  DEPENDS:=libopenssl @OPENSSL_ENGINE @KERNEL_AIO @!LINUX_3_18 +kmod-crypto-user \
+  DEPENDS:=libopenssl @OPENSSL_ENGINE @KERNEL_AIO +kmod-crypto-user \
 	   +libopenssl-conf @!OPENSSL_ENGINE_BUILTIN
 endef
 

-- 
2.20.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list