summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2012-11-16 00:42:10 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-11-16 16:01:04 (GMT)
commit3116742e8f0c45e5ca06b32f91e481763356e03e (patch)
tree32516f25dbcd95cfd9ce8e9efecc1045f2c1f0c0
parentb5ffa8e3dfca9db911de15e06daafae1f5cc2b07 (diff)
downloadbuildroot-3116742e8f0c45e5ca06b32f91e481763356e03e.tar.gz
buildroot-3116742e8f0c45e5ca06b32f91e481763356e03e.tar.bz2
kexec: disable on unsupported architectures
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. Signed-off-by: Simon Dawson <spdawson@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/kexec/Config.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/kexec/Config.in b/package/kexec/Config.in
index e59a07b..886144f 100644
--- a/package/kexec/Config.in
+++ b/package/kexec/Config.in
@@ -1,6 +1,8 @@
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.