mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
grub-efi: Provide target architecture for 32-bit ARM.
(From OE-Core rev: 65f9fb788371a9a08e3b0e6febecb9cc2aaeefe7) Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ebbd1e4a94
commit
c7443c85c3
@@ -25,6 +25,9 @@ python __anonymous () {
|
|||||||
elif re.match('aarch64', target):
|
elif re.match('aarch64', target):
|
||||||
grubtarget = 'arm64'
|
grubtarget = 'arm64'
|
||||||
grubimage = prefix + "bootaa64.efi"
|
grubimage = prefix + "bootaa64.efi"
|
||||||
|
elif re.match('arm', target):
|
||||||
|
grubtarget = 'arm'
|
||||||
|
grubimage = prefix + "bootarm.efi"
|
||||||
else:
|
else:
|
||||||
raise bb.parse.SkipRecipe("grub-efi is incompatible with target %s" % target)
|
raise bb.parse.SkipRecipe("grub-efi is incompatible with target %s" % target)
|
||||||
d.setVar("GRUB_TARGET", grubtarget)
|
d.setVar("GRUB_TARGET", grubtarget)
|
||||||
|
|||||||
Reference in New Issue
Block a user