From patchwork Thu May 2 19:51:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mischa Jonker X-Patchwork-Id: 241067 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id CCB842C00CA for ; Fri, 3 May 2013 05:54:05 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7E7D831AA8; Thu, 2 May 2013 19:54:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S-eP5YafoSow; Thu, 2 May 2013 19:53:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 23B5A31A93; Thu, 2 May 2013 19:53:36 +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 61C088F7AF for ; Thu, 2 May 2013 19:52:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 47BBE8D2DE for ; Thu, 2 May 2013 19:52:26 +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 qjOVsI-uiNzm for ; Thu, 2 May 2013 19:52:13 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from alvesta.synopsys.com (alvesta.synopsys.com [198.182.60.77]) by whitealder.osuosl.org (Postfix) with ESMTP id 4EFFC8D31A for ; Thu, 2 May 2013 19:51:58 +0000 (UTC) Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by alvesta.synopsys.com (Postfix) with ESMTP id 3AB9710E1E for ; Thu, 2 May 2013 12:51:58 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 2ADBDD2A; Thu, 2 May 2013 12:51:58 -0700 (PDT) Received: from localhost.localdomain (nl-droid1.internal.synopsys.com [10.100.24.228]) by mailhost.synopsys.com (Postfix) with ESMTP id 64940D29; Thu, 2 May 2013 12:51:57 -0700 (PDT) From: Mischa Jonker To: buildroot@busybox.net Date: Thu, 2 May 2013 21:51:33 +0200 Message-Id: <1367524293-32081-13-git-send-email-mjonker@synopsys.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1367524293-32081-1-git-send-email-mjonker@synopsys.com> References: <1367524293-32081-1-git-send-email-mjonker@synopsys.com> Cc: Mischa Jonker Subject: [Buildroot] [PATCH v4 12/12] kernel-headers: Add support for ARC kernel headers 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 Also make sure that older kernels are not selected for ARC. Signed-off-by: Mischa Jonker --- Makefile | 1 + toolchain/kernel-headers/Config.in | 14 +++++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 97804ff..ce7530f 100644 --- a/Makefile +++ b/Makefile @@ -238,6 +238,7 @@ ARCH:=$(call qstrip,$(BR2_ARCH)) KERNEL_ARCH:=$(shell echo "$(ARCH)" | sed -e "s/-.*//" \ -e s/i.86/i386/ -e s/sun4u/sparc64/ \ + -e s/arc.*/arc/ \ -e s/arm.*/arm/ -e s/sa110/arm/ \ -e s/aarch64/arm64/ \ -e s/bfin/blackfin/ \ diff --git a/toolchain/kernel-headers/Config.in b/toolchain/kernel-headers/Config.in index 12c53d8..aff69d9 100644 --- a/toolchain/kernel-headers/Config.in +++ b/toolchain/kernel-headers/Config.in @@ -17,35 +17,39 @@ choice config BR2_KERNEL_HEADERS_3_0 bool "Linux 3.0.x kernel headers" + depends on !BR2_arc config BR2_KERNEL_HEADERS_3_1 bool "Linux 3.1.x kernel headers" - depends on BR2_DEPRECATED + depends on BR2_DEPRECATED && !BR2_arc config BR2_KERNEL_HEADERS_3_2 bool "Linux 3.2.x kernel headers" + depends on !BR2_arc config BR2_KERNEL_HEADERS_3_3 bool "Linux 3.3.x kernel headers" - depends on BR2_DEPRECATED + depends on BR2_DEPRECATED && !BR2_arc config BR2_KERNEL_HEADERS_3_4 bool "Linux 3.4.x kernel headers" + depends on !BR2_arc config BR2_KERNEL_HEADERS_3_5 bool "Linux 3.5.x kernel headers" - depends on BR2_DEPRECATED + depends on BR2_DEPRECATED && !BR2_arc config BR2_KERNEL_HEADERS_3_6 bool "Linux 3.6.x kernel headers" - depends on BR2_DEPRECATED + depends on BR2_DEPRECATED && !BR2_arc config BR2_KERNEL_HEADERS_3_7 bool "Linux 3.7.x kernel headers" - depends on BR2_DEPRECATED + depends on BR2_DEPRECATED && !BR2_arc config BR2_KERNEL_HEADERS_3_8 bool "Linux 3.8.x kernel headers" + depends on !BR2_arc config BR2_KERNEL_HEADERS_3_9 bool "Linux 3.9.x kernel headers"