diff options
author | Ting Liu <ting.liu@nxp.com> | 2020-12-15 10:06:17 +0530 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-02-22 13:06:56 -0300 |
commit | ef0a000bb32e27990192ac3e365404a9b9109556 (patch) | |
tree | 109a23ab7561342ff71fce34eb7b8bae8cb3bea3 | |
parent | 9a3b55d15398927af08b148d8c667904beffc7b3 (diff) | |
download | meta-freescale-ef0a000bb32e27990192ac3e365404a9b9109556.tar.gz |
dce/qbman_userspace: fix build issue with gcc10
Fix multiple definition of 'qman_version' error:
| .../dce/git-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/10.2.0/ld: libqbman.a(qbman_portal.o):/usr/src/debug/dce/git-r0/git/lib/qbman_userspace/driver/qbman_portal.h:36: multiple definition of `qman_version'; libqbman.a(qbman_debug.o):/usr/src/debug/dce/git-r0/git/lib/qbman_userspace/driver/qbman_portal.h:36: first defined here
| collect2: error: ld returned 1 exit status
| Makefile:41: recipe for target 'bin/dce-api-perf-test' failed
| make: *** [bin/dce-api-perf-test] Error 1
Signed-off-by: Ting Liu <ting.liu@nxp.com>
-rw-r--r-- | recipes-dpaa2/dce/dce_git.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-dpaa2/dce/dce_git.bb b/recipes-dpaa2/dce/dce_git.bb index 0e31a3c4..9984f080 100644 --- a/recipes-dpaa2/dce/dce_git.bb +++ b/recipes-dpaa2/dce/dce_git.bb | |||
@@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=956df5ea6cfe0a1dcf2dee7ca37c0cdf" | |||
6 | SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/dce;nobranch=1 \ | 6 | SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/dce;nobranch=1 \ |
7 | git://source.codeaurora.org/external/qoriq/qoriq-components/qbman_userspace;nobranch=1;name=qbman;destsuffix=git/lib/qbman_userspace \ | 7 | git://source.codeaurora.org/external/qoriq/qoriq-components/qbman_userspace;nobranch=1;name=qbman;destsuffix=git/lib/qbman_userspace \ |
8 | " | 8 | " |
9 | SRCREV = "0ec35ad12ad04b5dadfa9f8c8a718c715bde41db" | 9 | SRCREV = "9db9c08379aa89f45f514f4f3f0a8e8212198758" |
10 | SRCREV_qbman = "a1af1e1528fe2e1ce0df1e6d9170b6c239c8ab4f" | 10 | SRCREV_qbman = "2f92993a9f34e5221d6b36c63b9e30ef703e9ac3" |
11 | 11 | ||
12 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
13 | 13 | ||