openwrt/target/linux
Christian Lamparter 0cd1fc0fe5 x86: detangle meraki-mx100 / nu801 build confusion
Grommish reported the dreaded build error that happend with 5.4
since the kernel didn't have the cgpio v2 interface. His reason
for the removed 5.4 was that the octeon target had a memory leak
issue, so he had to backport the removed 5.4 kernel for his tests.

Chen Minqiang chimed in and noted that no matter what (i.e.
@TARGET_x86 in depends) didn't prevent the package from being build
on other targets.

From what I can tell, the reason for this was that +nu801 meant
that kmod-meraki-mx100 pulled in an unconditional dependency as
part of to the kernel build.

|scripts/package-metadata.pl mk tmp/.packageinfo
|
|$(curdir)/kernel/linux/compile += $(curdir)/firmware/linux-firmware/compile \
|	$(curdir)/firmware/prism54-firmware/compile \
|	$(curdir)/kernel/gpio-button-hotplug/compile \
|	>>> $(curdir)/system/gpio-cdev/nu801/compile <<<

change this by making the dependency conditional on the
meraki-mx100 module itself. Note that the nu801 enables/sets
the  KCONFIG for the cgpio v2 interface itself, since the
userspace program and not the kernel meraki-mx100 relies on it.

Reference: <https://github.com/openwrt/openwrt/commit/eeb8fd4ce7e9>
Reported-by: Grommish <grommish@gmail.com>
Reported-by: Chen Minqiang <ptpt52@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-05-07 14:31:22 +02:00
..
apm821xx kernel: bump 5.10 to 5.10.111 2022-04-16 14:02:11 +02:00
archs38 kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
armvirt armvirt: 64: enable driver for QEMU' supported watchdog 2022-05-07 14:31:21 +02:00
at91 kernel: bump 5.10 to 5.10.113 2022-04-30 21:27:45 +02:00
ath25 generic: 5.15: rework hack patch 2022-03-27 00:07:34 +00:00
ath79 ath79: add Netgear WNDAP360 2022-04-30 23:56:47 +02:00
bcm27xx kernel: bump 5.10 to 5.10.113 2022-04-30 21:27:45 +02:00
bcm47xx kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
bcm53xx packages: nvram: add NVRAM quirks for bcm53xx target 2022-05-04 21:51:20 +02:00
bcm63xx bcm63xx: fix description fix name case 2022-04-23 20:46:25 +02:00
bcm4908 kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
bmips kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
gemini gemini: Bump kernel to v5.15 2022-04-14 10:12:34 +02:00
generic kernel: fix corrupted padding on small packets with mt753x dsa 2022-05-06 21:55:20 +02:00
imx kernel: bump 5.15 to 5.15.32 2022-04-09 19:31:46 +02:00
ipq40xx ipq40xx: consolidate ar40xx driver files 2022-05-05 09:19:00 +09:00
ipq806x ipq806x: add support for Arris TR4400 v2 / RAC2V1A 2022-05-05 09:19:00 +09:00
kirkwood kirkwood: set testing kernel version to 5.15 2022-05-01 13:40:13 +09:00
lantiq lantiq: fritz736x: Move GPIO resets to the inidvidual board.dts files 2022-04-16 14:02:11 +02:00
layerscape layerscape: image: drop redundant parameter from kernel build recipe 2022-04-01 14:32:54 +02:00
malta malta: add config-5.15 2022-04-13 19:50:50 +01:00
mediatek mediatek: build ubnt-ledbar as a module 2022-04-30 23:13:33 +08:00
mpc85xx mpc85xx: Fix output location of padded dtb 2022-04-30 23:56:47 +02:00
mvebu mvebu: make boot filesystem reproducible 2022-03-28 20:52:49 +01:00
mxs kernel: move some symbols to generic config 2022-04-09 19:31:46 +02:00
octeon kernel: move some symbols to generic config 2022-04-09 19:31:46 +02:00
octeontx kernel: bump 5.10 to 5.10.110 2022-04-09 19:31:46 +02:00
omap kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
oxnas kernel: bump 5.10 to 5.10.112 2022-04-23 20:46:25 +02:00
pistachio kernel: bump 5.10 to 5.10.95 2022-02-01 23:34:07 +00:00
qoriq qoriq: enable support for Marvell Alaska PHYs 2022-04-03 22:41:05 +03:00
ramips ramips: add i2c in dts for GL-MT300N-V2 2022-05-05 09:19:00 +09:00
realtek realtek: add ZyXEL GS1900-24HP v1 support 2022-04-16 17:26:56 +02:00
rockchip kernel: include CONFIG_KEXEC_SIG in configs 2022-03-15 08:33:45 +01:00
sunxi kernel: move some symbols to generic config 2022-04-09 19:31:46 +02:00
tegra kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
uml uml: make use of 'rootfs-part' feature 2022-01-23 19:48:31 +00:00
x86 x86: detangle meraki-mx100 / nu801 build confusion 2022-05-07 14:31:22 +02:00
zynq kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00