[dpdk-dev] [PATCH] mk: fix output directory name when compiling with custom kernel header dir
Thomas Monjalon
thomas at monjalon.net
Thu Jul 18 15:43:55 CEST 2019
18/07/2019 15:29, Herakliusz Lipiec:
> When building dpdk with differnt kernel headers by specifying
> RTE_KERNELDIR igb_uio is compiled to directory with a name of the
> version of kernel thats running on the system instead of the one that
> dpdk is actually compiled against. Fixed by replacing hardcoded value
> with value from RTE_KERNELDIR.
>
> Cc: stable at intel.com
> Cc: bruce.richardson at intel.com
> Signed-off-by: Herakliusz Lipiec <herakliusz.lipiec at intel.com>
> ---
> --- a/mk/rte.sdkinstall.mk
> +++ b/mk/rte.sdkinstall.mk
> ifeq ($(RTE_EXEC_ENV),linux)
> -kerneldir ?= /lib/modules/$(shell uname -r)/extra/dpdk
> +kerneldir ?= $(subst /build,/extra/dpdk,$(RTE_KERNELDIR))
> else
> kerneldir ?= /boot/modules
> endif
You are changing the alignment :)
This change is only for the "make" system.
How does it work for meson?
More information about the dev
mailing list