summaryrefslogtreecommitdiffstats
path: root/meta/classes/linux-dummy.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/classes/linux-dummy.bbclass
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/linux-dummy.bbclass')
-rw-r--r--meta/classes/linux-dummy.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/linux-dummy.bbclass b/meta/classes/linux-dummy.bbclass
index cd8791557d..9a06a509dd 100644
--- a/meta/classes/linux-dummy.bbclass
+++ b/meta/classes/linux-dummy.bbclass
@@ -6,7 +6,7 @@ python __anonymous () {
6 6
7 # set an empty package of kernel-devicetree 7 # set an empty package of kernel-devicetree
8 d.appendVar('PACKAGES', ' %s-devicetree' % kname) 8 d.appendVar('PACKAGES', ' %s-devicetree' % kname)
9 d.setVar('ALLOW_EMPTY_%s-devicetree' % kname, '1') 9 d.setVar('ALLOW_EMPTY:%s-devicetree' % kname, '1')
10 10
11 # Merge KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE into KERNEL_IMAGETYPES 11 # Merge KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE into KERNEL_IMAGETYPES
12 type = d.getVar('KERNEL_IMAGETYPE') or "" 12 type = d.getVar('KERNEL_IMAGETYPE') or ""
@@ -21,6 +21,6 @@ python __anonymous () {
21 for type in types.split(): 21 for type in types.split():
22 typelower = type.lower() 22 typelower = type.lower()
23 d.appendVar('PACKAGES', ' %s-image-%s' % (kname, typelower)) 23 d.appendVar('PACKAGES', ' %s-image-%s' % (kname, typelower))
24 d.setVar('ALLOW_EMPTY_%s-image-%s' % (kname, typelower), '1') 24 d.setVar('ALLOW_EMPTY:%s-image-%s' % (kname, typelower), '1')
25} 25}
26 26