summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-fitimage.bbclass
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2018-12-07 10:31:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-08 17:17:01 +0000
commit85bad95a085b1d24182da16bf472a416ac91e944 (patch)
treef27c8bc1253ddb1a0b9792ffac8dda21441a9bcb /meta/classes/kernel-fitimage.bbclass
parentd3a94e5b9b3c107cf54d5639071cc6609c002f67 (diff)
downloadpoky-85bad95a085b1d24182da16bf472a416ac91e944.tar.gz
kernel-fitimage: Replace tabs with spaces in python
Fix: WARNING: python should use 4 spaces indentation, but found tabs in kernel-fitimage.bbclass, line 24 (From OE-Core rev: 4ec42465e9df8cef20a97be11243726aa7dfb8c1) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel-fitimage.bbclass')
-rw-r--r--meta/classes/kernel-fitimage.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index 328bef4069..548699e978 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -19,9 +19,9 @@ python __anonymous () {
19 else: 19 else:
20 replacementtype = "zImage" 20 replacementtype = "zImage"
21 21
22 # Override KERNEL_IMAGETYPE_FOR_MAKE variable, which is internal 22 # Override KERNEL_IMAGETYPE_FOR_MAKE variable, which is internal
23 # to kernel.bbclass . We have to override it, since we pack zImage 23 # to kernel.bbclass . We have to override it, since we pack zImage
24 # (at least for now) into the fitImage . 24 # (at least for now) into the fitImage .
25 typeformake = d.getVar("KERNEL_IMAGETYPE_FOR_MAKE") or "" 25 typeformake = d.getVar("KERNEL_IMAGETYPE_FOR_MAKE") or ""
26 if 'fitImage' in typeformake.split(): 26 if 'fitImage' in typeformake.split():
27 d.setVar('KERNEL_IMAGETYPE_FOR_MAKE', typeformake.replace('fitImage', replacementtype)) 27 d.setVar('KERNEL_IMAGETYPE_FOR_MAKE', typeformake.replace('fitImage', replacementtype))