[OpenWrt-Devel] [PATCH 23/29] kernel: tg3: Do not depend on kmod-hwmon-core on kernel 4.19

Hauke Mehrtens hauke at hauke-m.de
Mon Dec 10 17:26:01 EST 2018


On 12/10/18 10:16 AM, Yousong Zhou wrote:
> On Sun, 9 Dec 2018 at 23:21, Hauke Mehrtens <hauke at hauke-m.de> wrote:
>>
>> Like on kernel 4.14 this dependency is deactivated in OpenWrt.
>>
>> Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
>> ---
>>  package/kernel/linux/modules/netdevices.mk | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
>> index e1117c4b7c..d4a2a13b0b 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_4_14:kmod-hwmon-core +kmod-ptp
>> +  DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +!(LINUX_4_14||LINUX_4_14):kmod-hwmon-core +kmod-ptp
> 
> typo, one of them should be LINUX_4_19 ;)
> 
> Probably we should test on earlier supported kernel versions, i.e.
> +(LINUX_3_18||LINUX_4_9):kmod-hwmon-core

Thanks for spotting this, I will fix this and convert it also to the
"+(LINUX_3_18||LINUX_4_9):kmod-hwmon-core" version.

Hauke

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20181210/bddfbce7/attachment.sig>
-------------- next part --------------
_______________________________________________
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