[dpdk-dev] [PATCH] mk: add missing scripts directory in install directory

Thomas Monjalon thomas.monjalon at 6wind.com
Fri May 16 16:32:34 CEST 2014


2014-05-09 15:31, David Marchand:
> Trying to install headers for an external library using DPDK exported
> makefile rte.extshared.mk results in following error :
> 
> $ cd dpdk
> $ make install DESTDIR=/home/marchand/myapp/staging/plop
> T=x86_64-default-linuxapp-gcc $ cd ~/myapp
> $ make RTE_SDK=/home/marchand/myapp/staging/plop
> RTE_TARGET=x86_64-default-linuxapp-gcc CC plop.o
>   LD plop.so
>   SYMLINK-FILE include/plop.h
> /bin/sh:
> /home/marchand/myapp/staging/plop/scripts/relpath.sh: No such file or
> directory ln: `/home/marchand/myapp/build/include' and `./include' are the
> same file make[1]: *** [/home/marchand/myapp/build/include/plop.h] Error 1
> make: *** [all] Error 2
> 
> This comes from the fact that DPDK only installs its mk/ directory while
> some makefiles require the scripts/ directory content as well.
> 
> So install missing files from scripts/.
> 
> Signed-off-by: David Marchand <david.marchand at 6wind.com>

Acked-by: Thomas Monjalon <thomas.monjalon at 6wind.com>

Applied for version 1.7.0.
-- 
Thomas


More information about the dev mailing list