diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-11-23 19:08:41 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-05 13:04:23 +0000 |
commit | eff9942d30c34a8290fa3ff5edafe32a8992c633 (patch) | |
tree | be8eca44115a52f3c9dcbc69160b083185ec6422 /meta/classes/uboot-sign.bbclass | |
parent | 13dd62344b6dc63a27b569959923021980026a23 (diff) | |
download | poky-eff9942d30c34a8290fa3ff5edafe32a8992c633.tar.gz |
uboot-sign.bbclass: Remove tab indentations in python code
Use 4 spaces to replace a tab.
(From OE-Core rev: 790828a65316fee57cd7659ad8b7544de5d2610c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/uboot-sign.bbclass')
-rw-r--r-- | meta/classes/uboot-sign.bbclass | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/meta/classes/uboot-sign.bbclass b/meta/classes/uboot-sign.bbclass index 8ee904e7df..afaf46fe14 100644 --- a/meta/classes/uboot-sign.bbclass +++ b/meta/classes/uboot-sign.bbclass | |||
@@ -80,16 +80,16 @@ do_concat_dtb () { | |||
80 | } | 80 | } |
81 | 81 | ||
82 | python () { | 82 | python () { |
83 | uboot_pn = d.getVar('PREFERRED_PROVIDER_u-boot') or 'u-boot' | 83 | uboot_pn = d.getVar('PREFERRED_PROVIDER_u-boot') or 'u-boot' |
84 | if d.getVar('UBOOT_SIGN_ENABLE') == '1' and d.getVar('PN') == uboot_pn: | 84 | if d.getVar('UBOOT_SIGN_ENABLE') == '1' and d.getVar('PN') == uboot_pn: |
85 | kernel_pn = d.getVar('PREFERRED_PROVIDER_virtual/kernel') | 85 | kernel_pn = d.getVar('PREFERRED_PROVIDER_virtual/kernel') |
86 | 86 | ||
87 | # u-boot.dtb and u-boot-nodtb.bin are deployed _before_ do_deploy | 87 | # u-boot.dtb and u-boot-nodtb.bin are deployed _before_ do_deploy |
88 | # Thus, do_deploy_setscene will also populate them in DEPLOY_IMAGE_DIR | 88 | # Thus, do_deploy_setscene will also populate them in DEPLOY_IMAGE_DIR |
89 | bb.build.addtask('do_deploy_dtb', 'do_deploy', 'do_compile', d) | 89 | bb.build.addtask('do_deploy_dtb', 'do_deploy', 'do_compile', d) |
90 | 90 | ||
91 | # do_concat_dtb is scheduled _before_ do_install as it overwrite the | 91 | # do_concat_dtb is scheduled _before_ do_install as it overwrite the |
92 | # u-boot.bin in both DEPLOYDIR and DEPLOY_IMAGE_DIR. | 92 | # u-boot.bin in both DEPLOYDIR and DEPLOY_IMAGE_DIR. |
93 | bb.build.addtask('do_concat_dtb', 'do_install', None, d) | 93 | bb.build.addtask('do_concat_dtb', 'do_install', None, d) |
94 | d.appendVarFlag('do_concat_dtb', 'depends', ' %s:do_assemble_fitimage' % kernel_pn) | 94 | d.appendVarFlag('do_concat_dtb', 'depends', ' %s:do_assemble_fitimage' % kernel_pn) |
95 | } | 95 | } |