From patchwork Fri Nov 16 10:42:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Dawson X-Patchwork-Id: 199537 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 0F9222C0090 for ; Fri, 16 Nov 2012 21:42:26 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id AF831A0416; Fri, 16 Nov 2012 10:42:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AfYG4JYj0l8e; Fri, 16 Nov 2012 10:42:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id E6ABAA00D9; Fri, 16 Nov 2012 10:42:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 873F78F79A for ; Fri, 16 Nov 2012 10:42:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2B7CA8C8F2 for ; Fri, 16 Nov 2012 10:42:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z1bDIATY5wJy for ; Fri, 16 Nov 2012 10:42:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ee0-f43.google.com (mail-ee0-f43.google.com [74.125.83.43]) by whitealder.osuosl.org (Postfix) with ESMTPS id BD15B8C869 for ; Fri, 16 Nov 2012 10:42:19 +0000 (UTC) Received: by mail-ee0-f43.google.com with SMTP id e49so1889430eek.16 for ; Fri, 16 Nov 2012 02:42:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:x-mailer; bh=Zsq91Isa9MSwvWDThPghF/eIVpPgU6VSd0aaJa+H5xU=; b=OLNXhNtw54bWUBcvJa+tnmEDTbalg/K1GqYtq0RqNyhF4p+JLZCmEFVcBBZvU5JikN 7FMvjIpq2iCjdwjjq3tjNfJEFpSwOvBSjy6pgXXNlIuoNSBu6dc3WJ945ylo9aQP92pC kF4QjHqM3TgfKmelraF9k6I3K9QncYcu+T4/m82yr+pHZ3kv6iuFH+Dj0K5Jwlry4NlS 93CjNxnnkkwoqAzuYOX/VLA1RoUAsM8w7IR4lh9jUICPH+EeW3aB7F+G+mHQzVNfVjEA o2IsTlec38HsY0Pyt+K49Sa1u1b5tJW300r9A45n2jOgKWQVLdSqVGRQE4oIWE1A6yG+ DBSA== Received: by 10.14.223.4 with SMTP id u4mr12342393eep.19.1353062537714; Fri, 16 Nov 2012 02:42:17 -0800 (PST) Received: from localhost.localdomain ([212.183.128.10]) by mx.google.com with ESMTPS id k2sm2686013eep.15.2012.11.16.02.42.15 (version=SSLv3 cipher=OTHER); Fri, 16 Nov 2012 02:42:16 -0800 (PST) From: spdawson@gmail.com To: buildroot@busybox.net Date: Fri, 16 Nov 2012 10:42:10 +0000 Message-Id: <1353062530-31224-1-git-send-email-spdawson@gmail.com> X-Mailer: git-send-email 1.7.10.4 Subject: [Buildroot] [PATCH v2] kexec: disable on unsupported architectures X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: Simon Dawson 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 Acked-by: Thomas Petazzoni --- v2: Split long line, as suggested by Thomas Petazzoni, add ack package/kexec/Config.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.