Hi Reshma, I tried your suggestion, but the build fails even using warning or not using warning. The reason is DPDK build expects pdump to be build.
I am looking at other alternatives, how to get this done. In last effort, we may need to disable PDUMP to be build default from '.config' file. Thanks Vipin Varghese > -----Original Message----- > From: Pattan, Reshma > Sent: Tuesday, March 6, 2018 5:42 PM > To: Varghese, Vipin <vipin.vargh...@intel.com>; dev@dpdk.org > Cc: Mcnamara, John <john.mcnam...@intel.com> > Subject: RE: [PATCH v1] app/pdump: add check for PCAP PMD > > > > > +ifeq ($(CONFIG_RTE_LIBRTE_PMD_PCAP),n) $(error "Please enable > > +CONFIG_RTE_LIBRTE_PMD_PCAP") endif > > + > > How about combining If(($(CONFIG_RTE_LIBRTE_PMD_PCAP),y) check with > below existing if check? > with this, dpdk-pdump will be compiled only when both the flags are enabled. > > > ifeq ($(CONFIG_RTE_LIBRTE_PDUMP),y) > > > > APP = dpdk-pdump > > -- > > 1.9.1