From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Montorsi, Francesco" Subject: Re: how to compile kernel drivers only Date: Thu, 30 Jul 2015 12:48:07 +0000 Message-ID: <3de835af894c404992e45f26bb3e0dd1@bilemail1.empirix.com> References: <43558cd25af0485cb5bf2589bf16904e@bilemail1.empirix.com> <1878577.oRiCv6NX9u@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: Thomas Monjalon 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) In-Reply-To: <1878577.oRiCv6NX9u@xps13> Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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