gcc-for-nvcc: rename gcc-for-nvcc-source -> gcc-source-for-nvcc

to take advantage of the automatic license whitelisting buried in
base.bbclass that checks for PN starting with 'gcc-source-', and
avoid the issue mentioned in #1711.

Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
Matt Madison
2024-10-21 14:32:42 -07:00
committed by Matt Madison
parent d43b919ebb
commit 6ee8c498d8
3 changed files with 5 additions and 5 deletions

View File

@@ -7,9 +7,9 @@ deltask do_patch
SRC_URI = ""
do_configure[depends] += "gcc-for-nvcc-source-${PV}:do_preconfigure"
do_populate_lic[depends] += "gcc-for-nvcc-source-${PV}:do_unpack"
do_deploy_source_date_epoch[depends] += "gcc-for-nvcc-source-${PV}:do_deploy_source_date_epoch"
do_configure[depends] += "gcc-source-for-nvcc-${PV}:do_preconfigure"
do_populate_lic[depends] += "gcc-source-for-nvcc-${PV}:do_unpack"
do_deploy_source_date_epoch[depends] += "gcc-source-for-nvcc-${PV}:do_deploy_source_date_epoch"
# Copy the SDE from the shared workdir to the recipe workdir
do_deploy_source_date_epoch () {

View File

@@ -7,7 +7,7 @@ RM_WORK_EXCLUDE += "${PN}"
inherit nopackages
PN = "gcc-for-nvcc-source-${PV}"
PN = "gcc-source-for-nvcc-${PV}"
WORKDIR = "${TMPDIR}/work-shared/gcc-${PV}-${PR}"
SSTATE_SWSPEC = "sstate:gcc::${PV}:${PR}::${SSTATE_VERSION}:"

View File

@@ -1,4 +1,4 @@
require gcc-for-nvcc-${PV}.inc
require gcc-for-nvcc-source.inc
require gcc-source-for-nvcc.inc
EXCLUDE_FROM_WORLD = "1"