summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/image.bbclass2
-rw-r--r--meta/classes/license_image.bbclass2
-rw-r--r--meta/recipes-devtools/go/go_1.14.bb4
-rw-r--r--scripts/lib/devtool/menuconfig.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 0d77d2f676..a241543ff2 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -437,7 +437,7 @@ python () {
437 localdata.delVar('DATETIME') 437 localdata.delVar('DATETIME')
438 localdata.delVar('DATE') 438 localdata.delVar('DATE')
439 localdata.delVar('TMPDIR') 439 localdata.delVar('TMPDIR')
440 vardepsexclude = (d.getVarFlag('IMAGE_CMD_' + realt, 'vardepsexclude', True) or '').split() 440 vardepsexclude = (d.getVarFlag('IMAGE_CMD_' + realt, 'vardepsexclude') or '').split()
441 for dep in vardepsexclude: 441 for dep in vardepsexclude:
442 localdata.delVar(dep) 442 localdata.delVar(dep)
443 443
diff --git a/meta/classes/license_image.bbclass b/meta/classes/license_image.bbclass
index 9f3a0c3727..325b3cbba7 100644
--- a/meta/classes/license_image.bbclass
+++ b/meta/classes/license_image.bbclass
@@ -211,7 +211,7 @@ def get_deployed_dependencies(d):
211 deploy = {} 211 deploy = {}
212 # Get all the dependencies for the current task (rootfs). 212 # Get all the dependencies for the current task (rootfs).
213 taskdata = d.getVar("BB_TASKDEPDATA", False) 213 taskdata = d.getVar("BB_TASKDEPDATA", False)
214 pn = d.getVar("PN", True) 214 pn = d.getVar("PN")
215 depends = list(set([dep[0] for dep 215 depends = list(set([dep[0] for dep
216 in list(taskdata.values()) 216 in list(taskdata.values())
217 if not dep[0].endswith("-native") and not dep[0] == pn])) 217 if not dep[0].endswith("-native") and not dep[0] == pn]))
diff --git a/meta/recipes-devtools/go/go_1.14.bb b/meta/recipes-devtools/go/go_1.14.bb
index c17527998b..76ff788238 100644
--- a/meta/recipes-devtools/go/go_1.14.bb
+++ b/meta/recipes-devtools/go/go_1.14.bb
@@ -7,8 +7,8 @@ export CGO_ENABLED_riscv64 = ""
7# windows/mips/riscv doesn't support -buildmode=pie, so skip the QA checking 7# windows/mips/riscv doesn't support -buildmode=pie, so skip the QA checking
8# for windows/mips/riscv and their variants. 8# for windows/mips/riscv and their variants.
9python() { 9python() {
10 if 'mips' in d.getVar('TARGET_ARCH',True) or 'riscv' in d.getVar('TARGET_ARCH',True) or 'windows' in d.getVar('TARGET_GOOS', True): 10 if 'mips' in d.getVar('TARGET_ARCH') or 'riscv' in d.getVar('TARGET_ARCH') or 'windows' in d.getVar('TARGET_GOOS'):
11 d.appendVar('INSANE_SKIP_%s' % d.getVar('PN',True), " textrel") 11 d.appendVar('INSANE_SKIP_%s' % d.getVar('PN'), " textrel")
12 else: 12 else:
13 d.setVar('GOBUILDMODE', 'pie') 13 d.setVar('GOBUILDMODE', 'pie')
14} 14}
diff --git a/scripts/lib/devtool/menuconfig.py b/scripts/lib/devtool/menuconfig.py
index 95384c5333..ff9227035d 100644
--- a/scripts/lib/devtool/menuconfig.py
+++ b/scripts/lib/devtool/menuconfig.py
@@ -43,7 +43,7 @@ def menuconfig(args, config, basepath, workspace):
43 return 1 43 return 1
44 44
45 check_workspace_recipe(workspace, args.component) 45 check_workspace_recipe(workspace, args.component)
46 pn = rd.getVar('PN', True) 46 pn = rd.getVar('PN')
47 47
48 if not rd.getVarFlag('do_menuconfig','task'): 48 if not rd.getVarFlag('do_menuconfig','task'):
49 raise DevtoolError("This recipe does not support menuconfig option") 49 raise DevtoolError("This recipe does not support menuconfig option")