backports: make BACKPORT_BUILD_LEDS depend on LEDS_CLASS=n
PATCH 1/2 backports: make BACKPORT_BUILD_LEDS depend on LEDS_CLASS=n
From: Johannes Berg <[email protected]>
Somehow !LEDS_CLASS and LEDS_CLASS=n seem to be different (likely because LEDS_CLASS is tristate, but BACKPORT_BUILD_LEDS is just a bool), so use LEDS_CLASS=n to fix build issues in other cases on certain kernel configurations.
--- backport/compat/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
backport/compat/Kconfig +1 -1
@@ -146,7 +146,7 @@ config BACKPORT_BUILD_DMA_SHARED_HELPERS config BACKPORT_BUILD_LEDS bool - depends on !NEW_LEDS || !LEDS_CLASS || !LEDS_TRIGGERS + depends on !NEW_LEDS || LEDS_CLASS=n || !LEDS_TRIGGERS default y if BACKPORT_NEW_LEDS default y if BACKPORT_LEDS_CLASS default y if BACKPORT_LEDS_TRIGGERS
Signature · 1 line
1.8.5.3
PATCH 2/2 backports: conditionally access net/ieee802154/ with make
From: Johannes Berg <[email protected]>
This essentially reverts commit cb6f08d3c38c as that caused issues with copy-list - the scripting when generating the backport can't prove that net/ieee802154/ isn't needed and will try to go into it even if it wasn't copied.
Instead, make net/ieee802154/ be entered whenever it might be needed - which is for CPTCFG_IEEE802154 and CPTCFG_BT. This is harmless if the directory ends up listed twice but will cause this problem to disappear.
--- backport/Makefile.kernel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
backport/Makefile.kernel +1 -1
@@ -34,7 +34,7 @@ obj-$(CPTCFG_NFC) += drivers/nfc/ obj-$(CPTCFG_REGULATOR) += drivers/regulator/ obj-$(CPTCFG_MEDIA_SUPPORT) += drivers/media/ -obj-y += net/ieee802154/ +obj-$(CPTCFG_IEEE802154) += net/ieee802154/ obj-$(CPTCFG_MAC802154) += net/mac802154/ obj-$(CPTCFG_IEEE802154) += drivers/net/ieee802154/
Signature · 1 line
1.8.5.3
Re: [PATCH 2/2] backports: conditionally access net/ieee802154/ with make
Quoted 11 lines · Johannes Berg
From: Johannes Berg <[email protected]>
This essentially reverts commit
cb6f08d3c38cas that caused issues with copy-list - the scripting when generating the backport can't prove thatnet/ieee802154/isn't needed and will try to go into it even if it wasn't copied.Instead, make
net/ieee802154/be entered whenever it might be needed - which is forCPTCFG_IEEE802154andCPTCFG_BT. This is harmless if the directory ends up listed twice but will cause this problem to disappear.
Err, forgot to git commit correctly ...
Quoted 7 lines · Johannes Berg
From: Johannes Berg <[email protected]>
Somehow !LEDS_CLASS and LEDS_CLASS=n seem to be different (likely because
LEDS_CLASSis tristate, butBACKPORT_BUILD_LEDSis just a bool), so use LEDS_CLASS=n to fix build issues in other cases on certain kernel configurations.
Quoted 5 lines
Signed-off-by Johannes Berg <[email protected]>--- backport/compat/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thank you for the patches, They were applied and I tested them.
Hauke