mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-06 19:00:49 +00:00
{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>
This commit is contained in:
committed by
Praneeth Bajjuri
parent
9b78dbdc1d
commit
2f6daf931b
@@ -7,6 +7,8 @@ PR = "${INC_PR}.0"
|
||||
|
||||
CHOICELIST = "yes no"
|
||||
|
||||
CFLAGS += "-fcommon"
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld in the updated directory
|
||||
for device in ${DEVICELIST}
|
||||
|
||||
@@ -8,6 +8,8 @@ PR = "${INC_PR}.1"
|
||||
|
||||
CHOICELIST = "yes no"
|
||||
|
||||
CC += "-fcommon"
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld unit test examples
|
||||
for device in ${DEVICELIST}
|
||||
|
||||
@@ -8,6 +8,8 @@ PR = "${INC_PR}.2"
|
||||
|
||||
CHOICELIST = "yes no"
|
||||
|
||||
CFLAGS += "-fcommon"
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld in the updated directory
|
||||
for device in ${DEVICELIST}
|
||||
|
||||
@@ -14,6 +14,8 @@ DEVICELIST_k2e = "k2e"
|
||||
|
||||
CHOICELIST = "no yes"
|
||||
|
||||
CFLAGS += "-fcommon"
|
||||
|
||||
PARALLEL_MAKE = ""
|
||||
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} SA_SRC_DIR=${S}"
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@ PR = "${INC_PR}.0"
|
||||
|
||||
CHOICELIST = "yes no"
|
||||
|
||||
CFLAGS += "-fcommon"
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld in the updated directory
|
||||
for device in ${DEVICELIST}
|
||||
|
||||
Reference in New Issue
Block a user