[dpdk-stable] [dpdk-dev] [PATCH] mk: fix output directory name when compiling with custom kernel header dir
Thomas Monjalon
thomas at monjalon.net
Fri Jul 19 13:36:52 CEST 2019
19/07/2019 13:09, Lipiec, Herakliusz:
> From: Thomas Monjalon [mailto:thomas at monjalon.net]
> > 18/07/2019 16:03, Herakliusz Lipiec:
> > > -kerneldir ?= /lib/modules/$(shell uname -r)/extra/dpdk
> > > +kerneldir ?= $(subst /build,/extra/dpdk,$(RTE_KERNELDIR))
> >
> > I would suggest another syntax, easier to read:
> >
> > kerneldir ?= $(RTE_KERNELDIR:/build=/extra/dpdk)
> >
> I have tried that before and it didn't seem to solve the issue.
Why? What is the output of $(info $(kerneldir)) ?
More information about the stable
mailing list