aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLei Maohui <leimaohui@cn.fujitsu.com>2019-07-27 21:43:16 +0900
committerLei Maohui <leimaohui@cn.fujitsu.com>2019-07-27 21:43:16 +0900
commit72ba2a8f19983960f0fdb36de29601e71f984926 (patch)
treeecc0d8c191b5a04e6b311eaefeb7ded292fab6a1
parente80279d46b89dfc490a16636ec6d9ce06122dd0a (diff)
downloadmeta-spdxscanner-72ba2a8f19983960f0fdb36de29601e71f984926.tar.gz
meta-spdxscanner-72ba2a8f19983960f0fdb36de29601e71f984926.tar.bz2
meta-spdxscanner-72ba2a8f19983960f0fdb36de29601e71f984926.zip
There is no need to create spdx files for the following OSS:
* libtool-cross # In fact it is for native * libgcc-initial # Not runtime OSS * shadow-sysroot # Not runtime OSS Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
-rw-r--r--classes/fossdriver-host.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/fossdriver-host.bbclass b/classes/fossdriver-host.bbclass
index 0f14d67..8306a20 100644
--- a/classes/fossdriver-host.bbclass
+++ b/classes/fossdriver-host.bbclass
@@ -57,6 +57,12 @@ python do_spdx () {
return
if (d.getVar('BPN') == "linux-yocto"):
return
+ if (d.getVar('PN') == "libtool-cross"):
+ return
+ if (d.getVar('PN') == "libgcc-initial"):
+ return
+ if (d.getVar('PN') == "shadow-sysroot"):
+ return
# We just archive gcc-source for all the gcc related recipes
if d.getVar('BPN') in ['gcc', 'libgcc']: