From patchwork Thu Nov 22 00:17:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 200889 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 2030E2C0093 for ; Thu, 22 Nov 2012 11:19:48 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CE47080C0C; Thu, 22 Nov 2012 00:19:45 +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 rQAj2fcbBuAv; Thu, 22 Nov 2012 00:19:32 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 3309281617; Thu, 22 Nov 2012 00:19:11 +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 3D7558F74A for ; Thu, 22 Nov 2012 00:18:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 760D08C642 for ; Thu, 22 Nov 2012 00:18:52 +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 FBmEheXM5ZW8 for ; Thu, 22 Nov 2012 00:18:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id B2C118CD36 for ; Thu, 22 Nov 2012 00:18:44 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id u3so578117wey.16 for ; Wed, 21 Nov 2012 16:18:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=XiP/GOah1e6xzJTwP7rgzDM8Ek1i8qC7c+qFupiItgQ=; b=bFqnN+TOVW7IZow6IarqO7nXgRI6OYZcorFM2H6Asa4Tb2hoMig7Ago7M4ZcKAzkEo DHcBe1EdiaIPmvbH+kQ5JtYJehgSSk+s0ujRhQeTZXO/cNJfwtbuWRQOQsCRpH1/SMpS Ozq5Al6CSwBUvCOmqdpU9owXO7/NdrLuEYqqRZP1/Pqhv89R/Y1EKJl/ZODi4Yvj8iye nJt4gZeb/be0DMVUfA3usfdx91aKrWzfUJNTn0nkvCsCnbP+7KPkNxA6LNzAZdfzSLVX UI0V6OuKbxzlNDPJR+pD6ArWUmwWE2daWUI+OLVv0llgF/QFT/2PMCY6FzmDxVtEGgga X/hQ== Received: by 10.180.7.130 with SMTP id j2mr1748745wia.17.1353543524714; Wed, 21 Nov 2012 16:18:44 -0800 (PST) Received: from localhost.localdomain (ivr94-4-82-229-165-48.fbx.proxad.net. [82.229.165.48]) by mx.google.com with ESMTPS id r10sm1847697wiz.0.2012.11.21.16.18.43 (version=SSLv3 cipher=OTHER); Wed, 21 Nov 2012 16:18:43 -0800 (PST) From: Samuel Martin To: buildroot@busybox.net Date: Thu, 22 Nov 2012 01:17:54 +0100 Message-Id: <1353543503-8952-5-git-send-email-s.martin49@gmail.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1353543503-8952-1-git-send-email-s.martin49@gmail.com> References: <1353543503-8952-1-git-send-email-s.martin49@gmail.com> Subject: [Buildroot] [PATCH 04/33] igh-ethercat: disable drivers build with kernel 3.6 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 Since hardware specific support is available for some given kernel releases (mostly for kernel <=3.2), then disable them if kernel 3.6 is enable. However, this still allows the generic driver build. Signed-off-by: Samuel Martin --- package/igh-ethercat/Config.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/igh-ethercat/Config.in b/package/igh-ethercat/Config.in index 890bb12..4a0fd75 100644 --- a/package/igh-ethercat/Config.in +++ b/package/igh-ethercat/Config.in @@ -6,7 +6,12 @@ config BR2_PACKAGE_IGH_ETHERCAT http://www.etherlab.org/en/ethercat/index.php -if BR2_PACKAGE_IGH_ETHERCAT +if BR2_PACKAGE_IGH_ETHERCAT && !BR2_LINUX_KERNEL_3_6 + +comment "The following drivers are only available for some" +comment "releases of the kernel (mostly 2.6.x)." +comment "Further details about the kernel/hardware support at:" +comment "http://www.etherlab.org/en/ethercat/hardware.php" config BR2_PACKAGE_IGH_ETHERCAT_8139TOO bool "8139too driver"