Skip to contentSkip to conversation

kexec: disable on unsupported architectures

PATCH Superseded spdawson at gmail.com 2 participants 2 messages Nov 16, 2012

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kexec: disable on unsupported architectures

From: Simon Dawson <[email protected]>

kexec only supports the following architectures.

i?86
powerpc
powerpc64
arm*
s390x|s390
sh4|sh4a|sh3|sh
mips*
cris
crisv32
ia64
x86_64
alpha

The Buildroot kexec package is available when an unsupported target architecture is selected, leading to autobuild failures like the following.

http://autobuild.buildroot.net/results/e706b08abb4fd1987fc4aa970d6be50fc92dc1fa/build-end.log

This patch makes the kexec package available only for the supported architectures.

---
 package/kexec/Config.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/kexec/Config.in +1 -1
index e59a07b..fe50e06 100644
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_KEXEC
 	bool "kexec"
-	depends on !BR2_avr32
+	depends on BR2_i386 || BR2_x86_64 || BR2_arm || BR2_armeb || BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el || BR2_powerpc || BR2_sh4 || BR2_sh4a || BR2_sh3
 	help
 	  Kexec is a user space utiltity for loading another kernel
 	  and asking the currently running kernel to do something with it.
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 kexec: disable on unsupported architectures

Dear spdawson at gmail.com,

package/kexec/Config.in line 6

Quoted 12 lines · spdawson at gmail.com
package/kexec/Config.in +1 -1
index e59a07b..fe50e06 100644
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_KEXEC
 	bool "kexec"
-	depends on !BR2_avr32
+	depends on BR2_i386 || BR2_x86_64 || BR2_arm || BR2_armeb || BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el || BR2_powerpc || BR2_sh4 || BR2_sh4a || BR2_sh3
 	help
 	  Kexec is a user space utiltity for loading another kernel
 	  and asking the currently running kernel to do something with it.

Provided the line gets split to ~80 characters:

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com