Hi Keith, On 02/14/2015 07:52 PM, Keith Wiles wrote: > The external build of applications does not import the > target/generic/rte.vars.mk > file, which is needed for locating DPDK headers and libraries. > > Signed-off-by: Keith Wiles <keith.wiles at intel.com> > --- > mk/rte.extvars.mk | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/mk/rte.extvars.mk b/mk/rte.extvars.mk > index 49fc9f2..2811ff9 100644 > --- a/mk/rte.extvars.mk > +++ b/mk/rte.extvars.mk > @@ -82,3 +82,10 @@ RTE_MACHINE := $(CONFIG_RTE_MACHINE:"%"=%) > RTE_EXEC_ENV := $(CONFIG_RTE_EXEC_ENV:"%"=%) > RTE_TOOLCHAIN := $(CONFIG_RTE_TOOLCHAIN:"%"=%) > RTE_MK_EXT := $(CONFIG_RTE_MK_EXT:"%"=%) > + > +ifneq ($(wildcard $(RTE_SDK)/mk/target/$(RTE_TARGET)/rte.vars.mk),) > +include $(RTE_SDK)/mk/target/$(RTE_TARGET)/rte.vars.mk > +else > +include $(RTE_SDK)/mk/target/generic/rte.vars.mk > +endif > + >
Same comment than for the other patch. The external apps should include "rte.vars.mk" as in examples.