From patchwork Fri Jan 8 20:30:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 59411 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp758053lbb; Fri, 8 Jan 2016 11:53:57 -0800 (PST) X-Received: by 10.55.71.82 with SMTP id u79mr148846203qka.55.1452282837003; Fri, 08 Jan 2016 11:53:57 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id h81si74044560qhd.73.2016.01.08.11.53.56; Fri, 08 Jan 2016 11:53:56 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 6E5AB61783; Fri, 8 Jan 2016 19:53:56 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=fail reason="verification failed; unprotected key" header.d=linaro.org header.i=@linaro.org header.b=H52Uo0be; dkim-adsp=none (unprotected policy); dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 01C0F61CCA; Fri, 8 Jan 2016 19:38:09 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 6E1566179C; Fri, 8 Jan 2016 19:35:56 +0000 (UTC) Received: from mail-lf0-f41.google.com (mail-lf0-f41.google.com [209.85.215.41]) by lists.linaro.org (Postfix) with ESMTPS id 24ABB61C8B for ; Fri, 8 Jan 2016 19:32:05 +0000 (UTC) Received: by mail-lf0-f41.google.com with SMTP id d17so15379992lfb.1 for ; Fri, 08 Jan 2016 11:32:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=790QOBJy1SUE2drRcGMtMbB5zQhnyaT3xylG8KsJJyM=; b=H52Uo0beBM71Xp2euOBfuJlQKIJu6VHUZYUOQVwdHhFHI+Q7lTVdkW9cosJ5ckOzis ZMkcC0RtX/xSiOndjvxIAmMcJh/iEOaY2ddHAdRsVUOPlx89SCGlPjcZUcLIv1/ZI2Vj xBXVqlfjBzzLEF7RJ4rWOMCMHxm+Rg0gkxhic= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=790QOBJy1SUE2drRcGMtMbB5zQhnyaT3xylG8KsJJyM=; b=HuovVD0IweZ+4OnjcUK1xT4v1sZzAFr63EPRvV14nJLEtyoB7Cfq/A2ljX7aTFgNvj J5pcgB7eOp6mhusw1MpbujSuhY8PUAEuFm9J39JAMWsQHkoTiToyrPGU7rq6RCHvLcAS jGGP26vKP2jIx15sQ+afBCdPkPrCvr0vPEMq+qRMaGA3lw85cATNGTJhn14xWh3R4aPK O3l9pIlSORWqAGRaXb4H90HIaR/5GOWkV1jHzHRwZQIsHd+mviaI+9/r5XxZUILfc5bq DqvQ6z1U/Di8lFXxBrABxFKq8sz7OWFu54Okj9ZkMJ0Kd0n+/dXfuWfDwuEtDuqX4Sn7 Us/g== X-Gm-Message-State: ALoCoQkWJtG3q6B1hMtAM7THTYm4l5Xy6G9aatDsmZ5l2MXidgDWGDCxGLBTEX2DXtJVG5zA5ugPOgXzRlQV2aQGH/SZm4kTLg== X-Received: by 10.25.142.84 with SMTP id q81mr33856149lfd.77.1452281524046; Fri, 08 Jan 2016 11:32:04 -0800 (PST) Received: from erachmi-ericsson.ki.sw.ericsson.se (c-83-233-90-46.cust.bredband2.com. [83.233.90.46]) by smtp.gmail.com with ESMTPSA id l204sm2085534lfg.49.2016.01.08.11.32.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 08 Jan 2016 11:32:03 -0800 (PST) From: Christophe Milard To: anders.roxell@linaro.org, mike.holmes@linaro.org, stuart.haslam@linaro.org, maxim.uvarov@linaro.org, bill.fischofer@linaro.org, petri.savolainen@linaro.org, edavis@broadcom.com Date: Fri, 8 Jan 2016 21:30:07 +0100 Message-Id: <1452285014-60320-25-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1452285014-60320-1-git-send-email-christophe.milard@linaro.org> References: <1452285014-60320-1-git-send-email-christophe.milard@linaro.org> Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXT RFC 24/31] drivers: ixgbe: building base files X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Signed-off-by: Christophe Milard --- drivers/Makefile.am | 4 ++++ drivers/ixgbe/Makefile.am | 7 +++++++ drivers/ixgbe/base/Makefile.am | 21 +++++++++++++++++++++ drivers/m4/configure.m4 | 2 ++ 4 files changed, 34 insertions(+) create mode 100644 drivers/ixgbe/Makefile.am create mode 100644 drivers/ixgbe/base/Makefile.am diff --git a/drivers/Makefile.am b/drivers/Makefile.am index 9f922a8..477ee62 100644 --- a/drivers/Makefile.am +++ b/drivers/Makefile.am @@ -2,5 +2,9 @@ INCFLAGS = -I$(top_srcdir)/platform/@with_platform@/include \ -I$(top_srcdir)/platform/linux-generic/include \ -I$(top_srcdir)/include +SUBDIRS = ixgbe + noinst_LTLIBRARIES = libdrivers.la libdrivers_la_SOURCES = driver_init.c + +libdrivers_la_LIBADD = ixgbe/libixgbe.la diff --git a/drivers/ixgbe/Makefile.am b/drivers/ixgbe/Makefile.am new file mode 100644 index 0000000..2c7f1f7 --- /dev/null +++ b/drivers/ixgbe/Makefile.am @@ -0,0 +1,7 @@ +include ../Makefile.inc +noinst_LTLIBRARIES = libixgbe.la + +SUBDIRS = base + +libixgbe_la_SOURCES = +libixgbe_la_LIBADD = base/libixgbe_base.la diff --git a/drivers/ixgbe/base/Makefile.am b/drivers/ixgbe/base/Makefile.am new file mode 100644 index 0000000..a47486a --- /dev/null +++ b/drivers/ixgbe/base/Makefile.am @@ -0,0 +1,21 @@ +include ../../Makefile.inc + +#the base files generates a lot of warnings but should not be changed +#we are doomed to ignore them: +AM_CFLAGS += -w + +noinst_LTLIBRARIES = libixgbe_base.la + +libixgbe_base_la_SOURCES = ixgbe_82598.c \ + ixgbe_82599.c \ + ixgbe_api.c \ + ixgbe_common.c \ + ixgbe_dcb_82598.c \ + ixgbe_dcb_82599.c \ + ixgbe_dcb.c \ + ixgbe_mbx.c \ + ixgbe_phy.c \ + ixgbe_vf.c \ + ixgbe_x540.c \ + ixgbe_x550.c + diff --git a/drivers/m4/configure.m4 b/drivers/m4/configure.m4 index cca047a..ad5814d 100644 --- a/drivers/m4/configure.m4 +++ b/drivers/m4/configure.m4 @@ -1,3 +1,5 @@ AC_CONFIG_FILES([ drivers/Makefile + drivers/ixgbe/Makefile + drivers/ixgbe/base/Makefile ])