From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bilemail2.empirix.com (bilemail2.empirix.com [208.67.76.246]) by dpdk.org (Postfix) with ESMTP id 0EFE14A63 for ; Thu, 30 Jul 2015 14:48:34 +0200 (CEST) Received: from BILEMAIL1.empirix.com (10.17.8.30) by bilemail2.empirix.com (10.17.8.31) with Microsoft SMTP Server (TLS) id 15.0.775.38; Thu, 30 Jul 2015 08:48:20 -0400 Received: from BILEMAIL1.empirix.com ([fe80::f9e0:9293:2523:f021]) by bilemail1.empirix.com ([fe80::f9e0:9293:2523:f021%22]) with mapi id 15.00.0775.031; Thu, 30 Jul 2015 08:48:08 -0400 From: "Montorsi, Francesco" To: Thomas Monjalon Thread-Topic: [dpdk-dev] how to compile kernel drivers only Thread-Index: AdDKwaw6/Vxjq3B9Raqg7Ack/8B49QAImQqAAAeYgzA= Date: Thu, 30 Jul 2015 12:48:07 +0000 Message-ID: <3de835af894c404992e45f26bb3e0dd1@bilemail1.empirix.com> References: <43558cd25af0485cb5bf2589bf16904e@bilemail1.empirix.com> <1878577.oRiCv6NX9u@xps13> In-Reply-To: <1878577.oRiCv6NX9u@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.12.50.109] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] how to compile kernel drivers only 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: Thu, 30 Jul 2015 12:48:34 -0000 Hi Thomas, Thanks for your reply. My problem is that I have in app/Makefile: DIRS-$(CONFIG_RTE_LIBRTE_EAL_LINUXAPP) +=3D dump_cfg So that I should put=20 CONFIG_RTE_LIBRTE_EAL_LINUXAPP=3Dn To disable dump_cfg application build. However, If I do so, the kernel driv= ers are not built at all and make just says: make T=3Dx86_64-native-linuxapp-gcc O=3Dx86_64-native-linuxapp-gcc EXTRA_LD= FLAGS=3D"" --directory=3Ddpdk-2.0.0 all make[1]: Entering directory `/home/hammer/share/CSA-Hamachi-Sprint/HW-Accel= /drivers/dpdk/dpdk-2.0.0' =3D=3D Build lib =3D=3D Build lib/librte_compat SYMLINK-FILE include/rte_compat.h =3D=3D Build lib/librte_eal =3D=3D Build app Build complete So that=20 CONFIG_RTE_LIBRTE_EAL_LINUXAPP=3Dy Seems to be a pre-requisite of kernel drivers... or am I missing something? Thanks, Francesco -----Original Message----- From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]=20 Sent: gioved=EC 30 luglio 2015 14:23 To: Montorsi, Francesco Cc: dev@dpdk.org Subject: Re: [dpdk-dev] how to compile kernel drivers only 2015-07-30 12:17, Montorsi, Francesco: > How can I avoid building any app like dump_cfg? In app/Makefile, you'll find the options to disable: DIRS-$(CONFIG_RTE_APP_TEST) +=3D test DIRS-$(CONFIG_RTE_LIBRTE_ACL) +=3D test-acl = =20 DIRS-$(CONFIG_RTE_LIBRTE_PIPELINE) +=3D test-pipeline DIRS-$(CONFIG_RTE_TEST_PMD) +=3D test-pmd DIRS-$(CONFIG_RTE_LIBRTE_CMDLINE) +=3D cmdline_test DIRS-$(CONFIG_RTE_LIBRTE_EAL_LINUXAPP) +=3D proc_info