Patchwork kexec: disable on avr32

login
register
mail settings
Submitter Simon Dawson
Date Nov. 13, 2012, 8:01 a.m.
Message ID <1352793705-30377-1-git-send-email-spdawson@gmail.com>
Download mbox | patch
Permalink /patch/198552/
State Superseded
Headers show

Comments

Simon Dawson - Nov. 13, 2012, 8:01 a.m.
From: Simon Dawson <spdawson@gmail.com>

kexec does not support the avr32 architecture; this results in autobuilder
failures such as the following.

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

This patch disables support for the kexec package on the avr32 architecture.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
 package/kexec/Config.in |    4 ++++
 1 file changed, 4 insertions(+)
Thomas Petazzoni - Nov. 13, 2012, 8:46 a.m.
On Tue, 13 Nov 2012 08:01:45 +0000, spdawson@gmail.com wrote:

> +comment "kexec is not supported on avr32"
> +	depends on BR2_avr32
> +

Until now, we generally didn't put a comment when a package wasn't
available for a particular architecture.

Best regards,

Thomas
Simon Dawson - Nov. 13, 2012, 8:47 a.m.
On 13 November 2012 08:46, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Until now, we generally didn't put a comment when a package wasn't
> available for a particular architecture.

Okay, thanks Thomas; I'll fix and resubmit.

Simon.

Patch

diff --git a/package/kexec/Config.in b/package/kexec/Config.in
index 6f10b89..98514d9 100644
--- a/package/kexec/Config.in
+++ b/package/kexec/Config.in
@@ -1,11 +1,15 @@ 
 config BR2_PACKAGE_KEXEC
 	bool "kexec"
+	depends on !BR2_avr32
 	help
 	  Kexec is a user space utiltity for loading another kernel
 	  and asking the currently running kernel to do something with it.
 
 	  http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/
 
+comment "kexec is not supported on avr32"
+	depends on BR2_avr32
+
 config BR2_PACKAGE_KEXEC_ZLIB
 	bool "zlib support"
 	depends on BR2_PACKAGE_KEXEC