From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 28F50C12E for ; Wed, 22 Jun 2016 13:49:42 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id r201so2237799wme.1 for ; Wed, 22 Jun 2016 04:49:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=fXdwBTzrq9WqA+mIP58/uKzr6eo7F5uGK68lTwCgZR0=; b=qHLrCicZMIk06olSoWKWiqP8fh4uvY8apVwZQnsi+J+vbZ9iqOC8SCcJUq3M6T6snY rQxbJjgGDJVgnkwAgBmORhkToFqtFO6LZzDYmshOE0K630Y54llIwRO3E/04v5REnHZz LiTwIXQqRKJP+jbiGwM4q+h4S8cDLhscWqzWlBKjXl6CMcoV2uZ9akh8VrGzytUEubdb X+5gwySyK79lejFHvR+F3ryAFFOGYuv/nD7xe9urHXfr2bQ5rPAiReas1MSi16xPmedl MRLQGaFjssdUs4ao5/pMv1voCpVj3/Pcif0N3wb8XzQnyjSCADhTTBgvIul2cr8UpSwS 6XHg== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=fXdwBTzrq9WqA+mIP58/uKzr6eo7F5uGK68lTwCgZR0=; b=AQi/i1F44SatocQEgiUPPWNDeneDRPtErG0myZk8oJJqgmDPnFD8NS9+ShgIlcK6z8 P/PgqtmqJRuqIiOJanKm5qLb9MViOnV6xG4KbXQu4p91POCQBmjUMUOhAbEqT010BNFe KieDqszfZTlHhh57C3Jy4KYfE2cZ7yqlZZb4FEYFupbirtx2oeCwVqXVmPtp7aVbrAZa tY9VW+dLePE+Uj7iW0a1t3M+yFETuGiqWQUVYA5UPbnCbY1dMUk5Qz+sReV1RyyYuY3G F4PNJZUpA6eno7ALS7sPHLZpSfVqQpG9ZmaYqw08kkyf1gf5XzrEHI5Cr1F/Txt7v4cZ HjLA== X-Gm-Message-State: ALyK8tLADROETEaf82JqrisNqbhrg/F48zOmWJwRyGnjkdT9OnvmGlMZNTy8yFqjplk4s0eJ X-Received: by 10.194.9.38 with SMTP id w6mr23684858wja.62.1466596181972; Wed, 22 Jun 2016 04:49:41 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id yr4sm62217007wjc.18.2016.06.22.04.49.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 22 Jun 2016 04:49:40 -0700 (PDT) From: Thomas Monjalon To: Panu Matilainen Cc: dev@dpdk.org, cristian.dumitrescu@intel.com, zhuangwj@gmail.com, olivier.matz@6wind.com Date: Wed, 22 Jun 2016 13:49:39 +0200 Message-ID: <293319946.9flpxUKHBY@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <191edb8105649612fab5f0e691f587715b78e664.1466595242.git.pmatilai@redhat.com> References: <191edb8105649612fab5f0e691f587715b78e664.1466595242.git.pmatilai@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] port: fix build when KNI support is not enabled X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jun 2016 11:49:42 -0000 2016-06-22 14:34, Panu Matilainen: > --- a/lib/librte_port/Makefile > +++ b/lib/librte_port/Makefile > @@ -82,6 +82,8 @@ DEPDIRS-$(CONFIG_RTE_LIBRTE_PORT) += lib/librte_mempool > DEPDIRS-$(CONFIG_RTE_LIBRTE_PORT) += lib/librte_ether > DEPDIRS-$(CONFIG_RTE_LIBRTE_PORT) += lib/librte_ip_frag > DEPDIRS-$(CONFIG_RTE_LIBRTE_PORT) += lib/librte_sched > +ifeq ($(CONFIG_RTE_LIBRTE_KNI),y) > DEPDIRS-$(CONFIG_RTE_LIBRTE_PORT) += lib/librte_kni > +endif I do not remember why $(CONFIG_RTE_LIBRTE_PORT) is needed in its Makefile. I think we can do DEPDIRS-$(CONFIG_RTE_LIBRTE_KNI) += lib/librte_kni and set DEPDIRS-y everywhere else.