diff mbox series

[meta-oe,V2,1/2] Support bitbake compilation when the host is a RISCV platform

Message ID 20221115120314.325-1-cp0613@linux.alibaba.com
State New
Headers show
Series [meta-oe,V2,1/2] Support bitbake compilation when the host is a RISCV platform | expand

Commit Message

cp0613 Nov. 15, 2022, 12:03 p.m. UTC
From: Chen Pei <cp0613@linux.alibaba.com>

I have a RISCV board running Ubuntu, and then clone the bitbake, meta-oe... to compile, 
just like using yocto in ARM board, so I need to add machine-sdk:riscv64 to support it.

Signed-off-by: Chen Pei <cp0613@linux.alibaba.com>
---
 meta/conf/machine-sdk/riscv64.conf | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 meta/conf/machine-sdk/riscv64.conf

Comments

Alexander Kanavin Nov. 15, 2022, 12:11 p.m. UTC | #1
This is not what the commit actually contains. The commit adds a
riscv64 definition for a SDK host machine, and so the commit message
should say that.

"machine-sdk: add a risv64 definition"


Alex

On Tue, 15 Nov 2022 at 13:05, cp0613 <cp0613@linux.alibaba.com> wrote:
>
> From: Chen Pei <cp0613@linux.alibaba.com>
>
> I have a RISCV board running Ubuntu, and then clone the bitbake, meta-oe... to compile,
> just like using yocto in ARM board, so I need to add machine-sdk:riscv64 to support it.
>
> Signed-off-by: Chen Pei <cp0613@linux.alibaba.com>
> ---
>  meta/conf/machine-sdk/riscv64.conf | 3 +++
>  1 file changed, 3 insertions(+)
>  create mode 100644 meta/conf/machine-sdk/riscv64.conf
>
> diff --git a/meta/conf/machine-sdk/riscv64.conf b/meta/conf/machine-sdk/riscv64.conf
> new file mode 100644
> index 0000000000..155c195d7d
> --- /dev/null
> +++ b/meta/conf/machine-sdk/riscv64.conf
> @@ -0,0 +1,3 @@
> +SDK_ARCH = "riscv64"
> +ABIEXTENSION:class-nativesdk = ""
> +
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#173269): https://lists.openembedded.org/g/openembedded-core/message/173269
> Mute This Topic: https://lists.openembedded.org/mt/95040940/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
cp0613 Nov. 15, 2022, 12:15 p.m. UTC | #2
Thanks for the reminder, it seems that my description is not accurate enough.
diff mbox series

Patch

diff --git a/meta/conf/machine-sdk/riscv64.conf b/meta/conf/machine-sdk/riscv64.conf
new file mode 100644
index 0000000000..155c195d7d
--- /dev/null
+++ b/meta/conf/machine-sdk/riscv64.conf
@@ -0,0 +1,3 @@ 
+SDK_ARCH = "riscv64"
+ABIEXTENSION:class-nativesdk = ""
+