[OE-core] [OE-core Yocto PATCH 1/4] grub-efi: Add to support to install grubaa64 efi
Naresh Bhat
naresh.bhat at linaro.org
Wed Mar 4 06:53:28 UTC 2015
On 3 March 2015 at 23:22, Bernhard Reutner-Fischer
<rep.dot.nop at gmail.com> wrote:
> On 3 March 2015 at 16:46, Naresh Bhat <naresh.bhat at linaro.org> wrote:
>> Add to support to install grubaa64.efi binary for aarch64
>>
>> Signed-off-by: Naresh Bhat <naresh.bhat at linaro.org>
>> Signed-off-by: Matt Fleming <matt.fleming at intel.com>
>> ---
>> meta/classes/grub-efi.bbclass | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
>> index 47bd35e..455dc8d 100644
>> --- a/meta/classes/grub-efi.bbclass
>> +++ b/meta/classes/grub-efi.bbclass
>> @@ -37,6 +37,9 @@ efi_populate() {
>> if [ "${TARGET_ARCH}" = "x86_64" ]; then
>> GRUB_IMAGE="bootx64.efi"
>> fi
>> + if [ "${TARGET_ARCH}" = "aarch64" ]; then
>> + GRUB_IMAGE="grubaa64.efi"
>> + fi
>
> Assuming you're adding at least the second call to test(1) in a row
> I'd have switched the whole thing to a case statement.
Thank you very much. That makes sense.
> This would be easier to read, fewer lines and on some shells fewer
> forks of test(1), fwiw.
Agreed. I will implement the same in my next series.
>
> thanks,
More information about the Openembedded-core
mailing list