mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 21:09:03 +02:00
gnu-efi_3.0m.bb: Fix tabs with spaces in python snippet
This shuts up new bitbake otherwise it warns about this always. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
This commit is contained in:
parent
961f835e4f
commit
7bd163e41f
|
@ -17,11 +17,11 @@ SRC_URI[md5sum] = "d0a21125aee56c0c7291ad260e916cb3"
|
|||
S = "${WORKDIR}/gnu-efi-3.0"
|
||||
|
||||
def gnu_efi_arch(d):
|
||||
import re
|
||||
tarch = d.getVar("TARGET_ARCH", True)
|
||||
if re.match("i[3456789]86", tarch):
|
||||
return "ia32"
|
||||
return tarch
|
||||
import re
|
||||
tarch = d.getVar("TARGET_ARCH", True)
|
||||
if re.match("i[3456789]86", tarch):
|
||||
return "ia32"
|
||||
return tarch
|
||||
|
||||
EXTRA_OEMAKE = "'ARCH=${@gnu_efi_arch(d)}' 'CC=${CC}' 'AS=${AS}' 'LD=${LD}' 'AR=${AR}' \
|
||||
'RANLIB=${RANLIB}' 'OBJCOPY=${OBJCOPY}' \
|
||||
|
|
Loading…
Reference in New Issue
Block a user