gcc-for-nvcc: fix build and package issue

Fixes building and packaging gcc-for-nvcc for installing on target systems.

Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
This commit is contained in:
Ilies CHERGUI
2024-05-15 20:36:50 +01:00
committed by Matt Madison
parent 672decafea
commit 929d03d4a4
2 changed files with 3 additions and 3 deletions

View File

@@ -119,7 +119,7 @@ FILES:gcov-for-nvcc-symlinks = "${bindir}/gcov-${BINV} \
"
FILES:g++-for-nvcc = "\
${bindir}/${TARGET_PREFIX}g++ \
${bindir}/${TARGET_PREFIX}g++* \
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1plus \
"
FILES:g++-for-nvcc-symlinks = "\
@@ -199,8 +199,6 @@ do_install () {
ln -sf ${TARGET_PREFIX}cpp-${BINV} cpp-${BINV}
ln -sf ${TARGET_PREFIX}gcov-${BINV} gcov-${BINV}
ln -sf ${TARGET_PREFIX}gcov-tool-${BINV} gcov-tool-${BINV}
install -d ${D}${base_libdir}
ln -sf ${bindir}/${TARGET_PREFIX}cpp ${D}${base_libdir}/cpp
ln -sf g++-${BINV} c++-${BINV}
ln -sf gcc-${BINV} cc-${BINV}
chown -R root:root ${D}

View File

@@ -11,4 +11,6 @@ ARMFPARCHEXT:armv6 = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}"
ARMFPARCHEXT:armv7a = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}"
ARMFPARCHEXT:armv7ve = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}"
SECURITY_STRINGFORMAT = ""
BBCLASSEXTEND = "nativesdk"