qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v10 62/65] linux-user: Add nanoMIPS support in s


From: Laurent Vivier
Subject: Re: [Qemu-devel] [PATCH v10 62/65] linux-user: Add nanoMIPS support in scripts/qemu-binfmt-conf.sh
Date: Wed, 22 Aug 2018 20:02:32 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Le 17/08/2018 à 16:03, Aleksandar Markovic a écrit :
> From: Aleksandar Rikalo <address@hidden>
> 
> Add support for nanomips[eb] variant in scripts/qemu-binfmt-conf.sh.
> 
> Signed-off-by: Aleksandar Markovic <address@hidden>
> Signed-off-by: Stefan Markovic <address@hidden>
> ---
>  scripts/qemu-binfmt-conf.sh | 16 +++++++++++++++-
>  1 file changed, 15 insertions(+), 1 deletion(-)
> 
....
> @@ -137,6 +145,12 @@ qemu_get_family() {
>      mips*)
>          echo "mips"
>          ;;
> +    nanomips)
> +        echo "nanomips"
> +        ;;
> +    nanomipseb)
> +        echo "nanomipseb"
> +        ;;

You don't need to add these lines, it's only needed if $cpu != $family.
The default case manages it:

    case "$cpu" in
...
    *)
        echo $cpu
        ;;

Thanks,
Laurent



reply via email to

[Prev in Thread] Current Thread [Next in Thread]