Skip to contentSkip to conversation

package/flashrom: add BR2_PACKAGE_FLASHROM_ARCH_SUPPORTS

PATCH New Fabrice Fontaine 3 participants 3 messages Mar 7, 2019 – Mar 19, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/flashrom: add BR2_PACKAGE_FLASHROM_ARCH_SUPPORTS

Fixes:
- http://autobuild.buildroot.org/results/22c72369cd5b7a8200bb03564bdc342ed026ccac
- http://autobuild.buildroot.org/results/ef6869bc40382145fad1079b79107275c4973494
- http://autobuild.buildroot.org/results/09d857102c469ede1db0bff8aa0dcd82a4001eaf

---
 package/flashrom/Config.in | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
package/flashrom/Config.in +10 -1
index cf1f53c1a3..9c20f2ed2c 100644
@@ -1,6 +1,15 @@
+config BR2_PACKAGE_FLASHROM_ARCH_SUPPORTS
+	bool
+	default y if BR2_aarch64 || BR2_aarch64_be || BR2_arm || \
+		BR2_armeb || BR2_i386 || BR2_m68k || BR2_mips || \
+		BR2_mipsel || BR2_mips64 || BR2_mips64el || \
+		BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \
+		BR2_riscv || BR2_sh || BR2_sparc || BR2_sparc64 || \
+		BR2_x86_64
+
 config BR2_PACKAGE_FLASHROM
 	bool "flashrom"
-	depends on !BR2_microblaze && !BR2_xtensa # platform.h
+	depends on BR2_PACKAGE_FLASHROM_ARCH_SUPPORTS
 	help
 	  flashrom is a utility for identifying, reading, writing,
 	  verifying and erasing flash chips. It is designed to flash
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 package/flashrom: add BR2_PACKAGE_FLASHROM_ARCH_SUPPORTS

package/flashrom/Config.in line 8

Quoted 13 lines · On Thu, 7 Mar 2019 23:08:24 +0100 Fabrice Fontaine…
package/flashrom/Config.in +8 -0
index cf1f53c1a3..9c20f2ed2c 100644
@@ -1,6 +1,15 @@
+config BR2_PACKAGE_FLASHROM_ARCH_SUPPORTS
+	bool
+	default y if BR2_aarch64 || BR2_aarch64_be || BR2_arm || \
+		BR2_armeb || BR2_i386 || BR2_m68k || BR2_mips || \
+		BR2_mipsel || BR2_mips64 || BR2_mips64el || \
+		BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \
+		BR2_riscv || BR2_sh || BR2_sparc || BR2_sparc64 || \
+		BR2_x86_64

I've split since into multiple "default y" lines, and applied. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/flashrom: add BR2_PACKAGE_FLASHROM_ARCH_SUPPORTS

In reply to Fabrice Fontaine
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Fixes:
- http://autobuild.buildroot.org/results/22c72369cd5b7a8200bb03564bdc342ed026ccac
- http://autobuild.buildroot.org/results/ef6869bc40382145fad1079b79107275c4973494
- http://autobuild.buildroot.org/results/09d857102c469ede1db0bff8aa0dcd82a4001eaf

Committed to 2019.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard