summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2019-03-07 23:08:24 +0100
committerPeter Korsgaard <peter@korsgaard.com>2019-03-19 20:11:08 +0100
commit2020d58ce35b61446eb4261fde10bb4e8ac417ff (patch)
tree90dadef5ff5b63062882985bb1583124b5d3a670 /package
parentd6c8348cca5aa1acf7b2d77b3f8c8d2cc21c35a1 (diff)
downloadbuildroot-2020d58ce35b61446eb4261fde10bb4e8ac417ff.tar.gz
buildroot-2020d58ce35b61446eb4261fde10bb4e8ac417ff.zip
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 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> [Thomas: change formatting of new option.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 10a95d545a9fb6cc00f076bd323cbc9ee352590f) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package')
-rw-r--r--package/flashrom/Config.in14
1 files changed, 13 insertions, 1 deletions
diff --git a/package/flashrom/Config.in b/package/flashrom/Config.in
index cf1f53c1a3..c333c29730 100644
--- a/package/flashrom/Config.in
+++ b/package/flashrom/Config.in
@@ -1,6 +1,18 @@
+config BR2_PACKAGE_FLASHROM_ARCH_SUPPORTS
+ bool
+ default y if BR2_aarch64 || BR2_aarch64_be
+ default y if BR2_arm || BR2_armeb
+ default y if BR2_i386 || BR2_x86_64
+ default y if BR2_m68k
+ default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
+ default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
+ default y if BR2_riscv
+ default y if BR2_sh
+ default y if BR2_sparc || BR2_sparc64
+
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
OpenPOWER on IntegriCloud