From: lxoliva Date: Wed, 23 Mar 2022 20:50:02 +0000 (+0000) Subject: backport mscc_main change for 5.16.17, 5.15.31, 5.10.108 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=5a6261068b5c9dd79e65dc3afab4cf8b9b20b55b;p=releases.git backport mscc_main change for 5.16.17, 5.15.31, 5.10.108 git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@18655 559672b5-ba27-0410-b829-e8f1faed8b1b --- diff --git a/deblob-5.10 b/deblob-5.10 index 273246b8ac4..fae6e5bb25d 100755 --- a/deblob-5.10 +++ b/deblob-5.10 @@ -2838,6 +2838,9 @@ clean_mk CONFIG_NET_DSA_LANTIQ_GSWIP drivers/net/dsa/Makefile announce MICROSEMI_PHY - "Microsemi PHYs" reject_firmware drivers/net/phy/mscc/mscc_main.c +if grep -q MODULE_FIRMWARE drivers/net/phy/mscc/mscc_main.c; then + clean_blob drivers/net/phy/mscc/mscc_main.c +fi clean_blob drivers/net/phy/mscc/mscc.h clean_kconfig drivers/net/phy/Kconfig MICROSEMI_PHY clean_mk CONFIG_MICROSEMI_PHY drivers/net/phy/mscc/Makefile diff --git a/deblob-5.15 b/deblob-5.15 index f54aa68f155..190303eb5d7 100755 --- a/deblob-5.15 +++ b/deblob-5.15 @@ -2871,6 +2871,9 @@ clean_mk CONFIG_NET_DSA_LANTIQ_GSWIP drivers/net/dsa/Makefile announce MICROSEMI_PHY - "Microsemi PHYs" reject_firmware drivers/net/phy/mscc/mscc_main.c +if grep -q MODULE_FIRMWARE drivers/net/phy/mscc/mscc_main.c; then + clean_blob drivers/net/phy/mscc/mscc_main.c +fi clean_blob drivers/net/phy/mscc/mscc.h clean_kconfig drivers/net/phy/Kconfig MICROSEMI_PHY clean_mk CONFIG_MICROSEMI_PHY drivers/net/phy/mscc/Makefile diff --git a/deblob-5.16 b/deblob-5.16 index d290d0dc43e..c61d5d41920 100755 --- a/deblob-5.16 +++ b/deblob-5.16 @@ -2875,6 +2875,9 @@ clean_mk CONFIG_NET_DSA_LANTIQ_GSWIP drivers/net/dsa/Makefile announce MICROSEMI_PHY - "Microsemi PHYs" reject_firmware drivers/net/phy/mscc/mscc_main.c +if grep -q MODULE_FIRMWARE drivers/net/phy/mscc/mscc_main.c; then + clean_blob drivers/net/phy/mscc/mscc_main.c +fi clean_blob drivers/net/phy/mscc/mscc.h clean_kconfig drivers/net/phy/Kconfig MICROSEMI_PHY clean_mk CONFIG_MICROSEMI_PHY drivers/net/phy/mscc/Makefile