Files
meta-riscv/recipes-kernel/linux/linux-starfive/0001-drivers-net-wireless-broadcom-fix-out-of-tree-build.patch
Khem Raj 128fa1b539 linux-starfive: Use starfive_vic7100_evb_sd_net_fedora_defconfig
This helps fix the time issues we were seeing with current config
which was resulting in bad time being reported from kernel and glibc
strftime() tripping over it.

This fixes all those issues and we can boot glibc based rootfs without
issues

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-07 08:35:48 -07:00

32 lines
1.5 KiB
Diff

From 274114f3d87869751afa88fc5c820acbb09bbccf Mon Sep 17 00:00:00 2001
From: Heinrich Schuchardt <xypron.glpk@gmx.de>
Date: Mon, 3 May 2021 12:19:30 +0200
Subject: [PATCH] drivers/net/wireless/broadcom: fix out of tree build
Building out of tree fails due to incorrect include paths.
Upstream-Status: Submitted [https://github.com/starfive-tech/linux/pull/5]
Fixes: 607862a03f15 ("drivers/net/wireless/broadcom: Add WiFi/BT driver BCMDHD")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
drivers/net/wireless/broadcom/bcmdhd/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/broadcom/bcmdhd/Makefile b/drivers/net/wireless/broadcom/bcmdhd/Makefile
index e98908ee79ae..1f0065927ac9 100644
--- a/drivers/net/wireless/broadcom/bcmdhd/Makefile
+++ b/drivers/net/wireless/broadcom/bcmdhd/Makefile
@@ -26,7 +26,7 @@ DHDCFLAGS = -Wall -Wstrict-prototypes -Dlinux -DBCMDRIVER \
-DPOWERUP_MAX_RETRY=0 -DIFACE_HANG_FORCE_DEV_CLOSE -DWAIT_DEQUEUE \
-DWL_EXT_IAPSTA -DWL_ESCAN -DCCODE_LIST \
-DENABLE_INSMOD_NO_FW_LOAD \
- -Idrivers/net/wireless/broadcom/bcmdhd -Idrivers/net/wireless/broadcom/bcmdhd/include
+ -I$(srctree)/drivers/net/wireless/broadcom/bcmdhd -I$(srctree)/drivers/net/wireless/broadcom/bcmdhd/include
DHDOFILES = aiutils.o siutils.o sbutils.o bcmutils.o bcmwifi_channels.o \
dhd_linux.o dhd_linux_platdev.o dhd_linux_sched.o dhd_pno.o \
--
2.31.1