From patchwork Thu Feb 7 19:04:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 218976 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 310D72C0085 for ; Fri, 8 Feb 2013 06:05:14 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A66EEA0204; Thu, 7 Feb 2013 19:05:14 +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 UDWsDNX9j5BT; Thu, 7 Feb 2013 19:05:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 71EAEA01FD; Thu, 7 Feb 2013 19:05:03 +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 5F71C8F753 for ; Thu, 7 Feb 2013 19:05:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 143D686887 for ; Thu, 7 Feb 2013 19:04:59 +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 UDZP0UCRAcDz for ; Thu, 7 Feb 2013 19:04:56 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0393185AA8 for ; Thu, 7 Feb 2013 19:04:55 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id dr12so2300088wgb.35 for ; Thu, 07 Feb 2013 11:04:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer; bh=ipj4/N+NDcPKCf4pk2OFd/H+ECuT22i1G+cpiI/hPf8=; b=TEcLtmftQATIIC29W8llLjesKo2A2E+gmQ61IJg+P5LK/gO6oRYC7G/1Zyjinwk2MH 2SCDLrlRc+KuVz7JNxigfhuuZ4dnlEY6IWajKvBC4pbh7FGEg3AL9lPjyByWKSh7A/dY 9LnQXcqAf9n9E3ucogUFu6ggrg5q3nFzdJEyeTzhOykYX5prFdzVj7INtUDcgD2O6QC6 WBRWC+gduwyqgL2bbu8sXoA9KskDaPEEajJdbF04kkGuED7qfbJ1duDGdKjN9IjmvuS9 2diok0czypcOFYa5+0BByC3HApMsVyUSb8R9rNWSvTxzV7QZWcRZilEM3wZ8nJCe1eT3 OpHQ== X-Received: by 10.194.158.165 with SMTP id wv5mr4964533wjb.45.1360263894151; Thu, 07 Feb 2013 11:04:54 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-68-181.w90-32.abo.wanadoo.fr. [90.32.147.181]) by mx.google.com with ESMTPS id l3sm11247264wiy.8.2013.02.07.11.04.51 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 07 Feb 2013 11:04:53 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Thu, 7 Feb 2013 20:04:48 +0100 Message-Id: <1360263888-5806-1-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH] arch/arm: fix-up the ARM Kconfig warning 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 Kconfig does not accepts that a symbol that is part of a choice be affected a default value. Fix this by introducing a dummy EABI symbol., and nake the real EABI symbol a prompt-less option that depends on !OABI. Signed-off-by: "Yann E. MORIN" Cc: Peter Korsgaard Cc: Arnout Vandecappelle --- arch/Config.in.arm | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/Config.in.arm b/arch/Config.in.arm index 37152c0..ecb45ab 100644 --- a/arch/Config.in.arm +++ b/arch/Config.in.arm @@ -76,7 +76,7 @@ choice Note: Using OABI is discouraged. -config BR2_ARM_EABI +config BR2_ARM_EABI_DUMMY bool "EABI" config BR2_ARM_OABI bool "OABI" @@ -84,8 +84,9 @@ config BR2_ARM_OABI endchoice config BR2_ARM_EABI - default y - depends on !BR2_DEPRECATED + def_bool y + depends on BR2_arm || BR2_armeb + depends on !BR2_ARM_OABI config BR2_ARM_ENABLE_NEON bool "Enable NEON SIMD extension support"