Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/botan: fix build with riscv32
@ 2021-04-03 15:29 Fabrice Fontaine
  2021-04-04 10:26 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Fontaine @ 2021-04-03 15:29 UTC (permalink / raw)
  To: buildroot

Fixes:
 - http://autobuild.buildroot.org/results/1c399312dbec5d7a28ec90d62fdd8f47fa14ff4b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 .../botan/0003-Add-support-for-riscv32.patch  | 31 +++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 package/botan/0003-Add-support-for-riscv32.patch

diff --git a/package/botan/0003-Add-support-for-riscv32.patch b/package/botan/0003-Add-support-for-riscv32.patch
new file mode 100644
index 0000000000..d8978b2f11
--- /dev/null
+++ b/package/botan/0003-Add-support-for-riscv32.patch
@@ -0,0 +1,31 @@
+From 443bf46ee2b1b1d7acd63e3f00dcbe66646138f8 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Fri, 2 Apr 2021 20:37:03 +0200
+Subject: [PATCH] Add support for riscv32
+
+Fix the following build failure:
+
+  ERROR: Unknown or unidentifiable processor "riscv32"
+
+Fixes:
+ - http://autobuild.buildroot.org/results/1c399312dbec5d7a28ec90d62fdd8f47fa14ff4b
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Retrieved from:
+https://github.com/randombit/botan/commit/aa7958880bee2091a8a71bf9e1f6e6efb34581e3]
+---
+ src/build-data/arch/riscv32.txt | 2 ++
+ 1 file changed, 2 insertions(+)
+ create mode 100644 src/build-data/arch/riscv32.txt
+
+diff --git a/src/build-data/arch/riscv32.txt b/src/build-data/arch/riscv32.txt
+new file mode 100644
+index 000000000..ba88b42e9
+--- /dev/null
++++ b/src/build-data/arch/riscv32.txt
+@@ -0,0 +1,2 @@
++family riscv32
++endian little
+-- 
+2.30.2
+
-- 
2.30.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/botan: fix build with riscv32
  2021-04-03 15:29 [Buildroot] [PATCH 1/1] package/botan: fix build with riscv32 Fabrice Fontaine
@ 2021-04-04 10:26 ` Yann E. MORIN
  2021-04-04 19:08   ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2021-04-04 10:26 UTC (permalink / raw)
  To: buildroot

Fabrice, All,

On 2021-04-03 17:29 +0200, Fabrice Fontaine spake thusly:
> Fixes:
>  - http://autobuild.buildroot.org/results/1c399312dbec5d7a28ec90d62fdd8f47fa14ff4b

Technically, this is not a bug fix, but support for a new architecture,
akin to a new feature. But since this is an upstream commit, this is OK
to backport, as we can drop the patch when we next update the version.

Applied to master, thanks.

Regards,
Yann E. MORIN.

> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  .../botan/0003-Add-support-for-riscv32.patch  | 31 +++++++++++++++++++
>  1 file changed, 31 insertions(+)
>  create mode 100644 package/botan/0003-Add-support-for-riscv32.patch
> 
> diff --git a/package/botan/0003-Add-support-for-riscv32.patch b/package/botan/0003-Add-support-for-riscv32.patch
> new file mode 100644
> index 0000000000..d8978b2f11
> --- /dev/null
> +++ b/package/botan/0003-Add-support-for-riscv32.patch
> @@ -0,0 +1,31 @@
> +From 443bf46ee2b1b1d7acd63e3f00dcbe66646138f8 Mon Sep 17 00:00:00 2001
> +From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> +Date: Fri, 2 Apr 2021 20:37:03 +0200
> +Subject: [PATCH] Add support for riscv32
> +
> +Fix the following build failure:
> +
> +  ERROR: Unknown or unidentifiable processor "riscv32"
> +
> +Fixes:
> + - http://autobuild.buildroot.org/results/1c399312dbec5d7a28ec90d62fdd8f47fa14ff4b
> +
> +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> +[Retrieved from:
> +https://github.com/randombit/botan/commit/aa7958880bee2091a8a71bf9e1f6e6efb34581e3]
> +---
> + src/build-data/arch/riscv32.txt | 2 ++
> + 1 file changed, 2 insertions(+)
> + create mode 100644 src/build-data/arch/riscv32.txt
> +
> +diff --git a/src/build-data/arch/riscv32.txt b/src/build-data/arch/riscv32.txt
> +new file mode 100644
> +index 000000000..ba88b42e9
> +--- /dev/null
> ++++ b/src/build-data/arch/riscv32.txt
> +@@ -0,0 +1,2 @@
> ++family riscv32
> ++endian little
> +-- 
> +2.30.2
> +
> -- 
> 2.30.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/botan: fix build with riscv32
  2021-04-04 10:26 ` Yann E. MORIN
@ 2021-04-04 19:08   ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-04-04 19:08 UTC (permalink / raw)
  To: buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > Fabrice, All,
 > On 2021-04-03 17:29 +0200, Fabrice Fontaine spake thusly:
 >> Fixes:
 >> - http://autobuild.buildroot.org/results/1c399312dbec5d7a28ec90d62fdd8f47fa14ff4b

 > Technically, this is not a bug fix, but support for a new architecture,
 > akin to a new feature. But since this is an upstream commit, this is OK
 > to backport, as we can drop the patch when we next update the version.

 > Applied to master, thanks.

And since the patch is so small and unlikely to cause regressions for
other architectures, committed to 2021.02.x as well - Thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-04 19:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-03 15:29 [Buildroot] [PATCH 1/1] package/botan: fix build with riscv32 Fabrice Fontaine
2021-04-04 10:26 ` Yann E. MORIN
2021-04-04 19:08   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox