summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2021-04-03 06:09:59 +0000
committerPraneeth Bajjuri <praneeth@ti.com>2021-04-05 23:07:46 -0500
commit2f6daf931b673b44d6e0b5937639ac914ae1e3cf (patch)
treead9a68457b70c63397056f8532b67eb86a3e9deb
parent9b78dbdc1d5184d60f4dedd183dc10feb79ce413 (diff)
downloadmeta-ti-2f6daf931b673b44d6e0b5937639ac914ae1e3cf.tar.gz
{qmss, cppi, srio, pa, sa}-lld-test: suppress gcc10 multiple definition of fw_qmss*
Workaround for these: .../ti/drv/cppi/test/k2h/armv7/linux/fw_main.c:50: multiple definition of `coreNum'; ./obj/k2h/cppi/test/cppi_test.o:.../ti/drv/cppi/test/src/cppi_test.c:102: first defined here .../ti/drv/cppi/test/k2h/armv7/linux/fw_main.c:50: multiple definition of `errorCount'; ./obj/k2h/cppi/test/cppi_test.o:.../ti/drv/cppi/test/src/cppi_test.c:102: first defined here .../ti/drv/cppi/test/k2h/armv7/linux/fw_test.h:85: multiple definition of `fw_passCfgVaddr'; ./obj/k2h/cppi/test/cppi_test.o:.../ti/drv/cppi/test/k2h/armv7/linux/fw_test.h:85: first defined here .../ti/drv/cppi/test/k2h/armv7/linux/fw_test.h:84: multiple definition of `fw_srioCfgVaddr'; ./obj/k2h/cppi/test/cppi_test.o:.../ti/drv/cppi/test/k2h/armv7/linux/fw_test.h:84: first defined here .../ti/drv/cppi/test/k2h/armv7/linux/fw_test.h:83: multiple definition of `fw_qmssDataVaddr'; ./obj/k2h/cppi/test/cppi_test.o:.../ti/drv/cppi/test/k2h/armv7/linux/fw_test.h:83: first defined here .../ti/drv/cppi/test/k2h/armv7/linux/fw_test.h:82: multiple definition of `fw_qmssCfgVaddr'; ./obj/k2h/cppi/test/cppi_test.o:.../ti/drv/cppi/test/k2h/armv7/linux/fw_test.h:82: first defined here Needs to be fixed properly later: https://gcc.gnu.org/gcc-10/porting_to.html Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
-rw-r--r--recipes-bsp/cppi-lld/cppi-lld-test_git.bb2
-rw-r--r--recipes-bsp/pa-lld/pa-lld-test_git.bb2
-rw-r--r--recipes-bsp/qmss-lld/qmss-lld-test_git.bb2
-rw-r--r--recipes-bsp/sa-lld/sa-lld-test_git.bb2
-rw-r--r--recipes-bsp/srio-lld/srio-lld-test_git.bb2
5 files changed, 10 insertions, 0 deletions
diff --git a/recipes-bsp/cppi-lld/cppi-lld-test_git.bb b/recipes-bsp/cppi-lld/cppi-lld-test_git.bb
index b4f5c239..0c630b4e 100644
--- a/recipes-bsp/cppi-lld/cppi-lld-test_git.bb
+++ b/recipes-bsp/cppi-lld/cppi-lld-test_git.bb
@@ -7,6 +7,8 @@ PR = "${INC_PR}.0"
7 7
8CHOICELIST = "yes no" 8CHOICELIST = "yes no"
9 9
10CFLAGS += "-fcommon"
11
10do_compile () { 12do_compile () {
11# Now build the lld in the updated directory 13# Now build the lld in the updated directory
12 for device in ${DEVICELIST} 14 for device in ${DEVICELIST}
diff --git a/recipes-bsp/pa-lld/pa-lld-test_git.bb b/recipes-bsp/pa-lld/pa-lld-test_git.bb
index 62ec1222..760f1882 100644
--- a/recipes-bsp/pa-lld/pa-lld-test_git.bb
+++ b/recipes-bsp/pa-lld/pa-lld-test_git.bb
@@ -8,6 +8,8 @@ PR = "${INC_PR}.1"
8 8
9CHOICELIST = "yes no" 9CHOICELIST = "yes no"
10 10
11CC += "-fcommon"
12
11do_compile () { 13do_compile () {
12# Now build the lld unit test examples 14# Now build the lld unit test examples
13 for device in ${DEVICELIST} 15 for device in ${DEVICELIST}
diff --git a/recipes-bsp/qmss-lld/qmss-lld-test_git.bb b/recipes-bsp/qmss-lld/qmss-lld-test_git.bb
index 77e698a4..53f6dcff 100644
--- a/recipes-bsp/qmss-lld/qmss-lld-test_git.bb
+++ b/recipes-bsp/qmss-lld/qmss-lld-test_git.bb
@@ -8,6 +8,8 @@ PR = "${INC_PR}.2"
8 8
9CHOICELIST = "yes no" 9CHOICELIST = "yes no"
10 10
11CFLAGS += "-fcommon"
12
11do_compile () { 13do_compile () {
12# Now build the lld in the updated directory 14# Now build the lld in the updated directory
13 for device in ${DEVICELIST} 15 for device in ${DEVICELIST}
diff --git a/recipes-bsp/sa-lld/sa-lld-test_git.bb b/recipes-bsp/sa-lld/sa-lld-test_git.bb
index f3fa4f3d..b9050b6a 100644
--- a/recipes-bsp/sa-lld/sa-lld-test_git.bb
+++ b/recipes-bsp/sa-lld/sa-lld-test_git.bb
@@ -14,6 +14,8 @@ DEVICELIST_k2e = "k2e"
14 14
15CHOICELIST = "no yes" 15CHOICELIST = "no yes"
16 16
17CFLAGS += "-fcommon"
18
17PARALLEL_MAKE = "" 19PARALLEL_MAKE = ""
18EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} SA_SRC_DIR=${S}" 20EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} SA_SRC_DIR=${S}"
19 21
diff --git a/recipes-bsp/srio-lld/srio-lld-test_git.bb b/recipes-bsp/srio-lld/srio-lld-test_git.bb
index d2a00682..ca22b7d5 100644
--- a/recipes-bsp/srio-lld/srio-lld-test_git.bb
+++ b/recipes-bsp/srio-lld/srio-lld-test_git.bb
@@ -7,6 +7,8 @@ PR = "${INC_PR}.0"
7 7
8CHOICELIST = "yes no" 8CHOICELIST = "yes no"
9 9
10CFLAGS += "-fcommon"
11
10do_compile () { 12do_compile () {
11# Now build the lld in the updated directory 13# Now build the lld in the updated directory
12 for device in ${DEVICELIST} 14 for device in ${DEVICELIST}