til-wl18xx: Fix linker error

Part of yocto upgrade from dunfell to kirkstone
This commit is contained in:
Alexandre Bard 2022-08-12 10:29:30 +02:00
parent fec0fc1b4f
commit b28ef280d8
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 061f3fda77feb2f7c8e111c5e169d460893f7210 Mon Sep 17 00:00:00 2001
From: Alexandre Bard <alexandre.bard@netmodule.com>
Date: Thu, 4 Aug 2022 13:49:17 +0200
Subject: [PATCH] Remove variable defined in header file
linker is complaining about multiple definitions of this variable.
Signed-off-by: Alexandre Bard <alexandre.bard@netmodule.com>
---
plt.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plt.h b/plt.h
index 8b534a9..43d5dbc 100644
--- a/plt.h
+++ b/plt.h
@@ -399,7 +399,7 @@ enum EFUSE_PARAMETER_TYPE_ENMT {
TX_BIP_PD_BUFFER_VBIAS_ERROR_E,
EFUSE_NUMBER_OF_PARAMETERS_E,
EFUSE_LAST_PARAMETER_E = (EFUSE_NUMBER_OF_PARAMETERS_E - 1)
-} EFUSE_PARAMETER_TYPE_ENM;
+};
int get_mac_addr(int ifc_num, unsigned char *mac_addr);

View File

@ -10,7 +10,9 @@ PV = "R8.7+git${SRCPV}"
PR = "r1" PR = "r1"
SRCREV = "39542357111d1f24e866c2857d561a348c04cce4" SRCREV = "39542357111d1f24e866c2857d561a348c04cce4"
SRC_URI = "git://git.ti.com/wilink8-wlan/18xx-ti-utils.git;branch=master" SRC_URI = "git://git.ti.com/wilink8-wlan/18xx-ti-utils.git;branch=master \
file://0001-Remove-variable-defined-in-header-file.patch \
"
DEPENDS = "libnl" DEPENDS = "libnl"