diff --git a/recipes-testing/ti-utils/ti-wl18xx-calibrator/0001-Remove-variable-defined-in-header-file.patch b/recipes-testing/ti-utils/ti-wl18xx-calibrator/0001-Remove-variable-defined-in-header-file.patch new file mode 100644 index 0000000..d07651c --- /dev/null +++ b/recipes-testing/ti-utils/ti-wl18xx-calibrator/0001-Remove-variable-defined-in-header-file.patch @@ -0,0 +1,25 @@ +From 061f3fda77feb2f7c8e111c5e169d460893f7210 Mon Sep 17 00:00:00 2001 +From: Alexandre Bard +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 +--- + 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); + diff --git a/recipes-testing/ti-utils/ti-wl18xx-calibrator_git.bb b/recipes-testing/ti-utils/ti-wl18xx-calibrator_git.bb index ccd6bf7..e91505e 100644 --- a/recipes-testing/ti-utils/ti-wl18xx-calibrator_git.bb +++ b/recipes-testing/ti-utils/ti-wl18xx-calibrator_git.bb @@ -10,7 +10,9 @@ PV = "R8.7+git${SRCPV}" PR = "r1" 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"