Fixed
Created: Feb 24, 2019
Updated: Jun 30, 2019
Resolved Date: Jun 30, 2019
Found In Version: 10.18.44.3
Fix Version: 10.18.44.8
Severity: Standard
Applicable for: Wind River Linux LTS 18
Component/s: Build & Config
In DPDK package, it need to add .mk files under DPDK sdk.
Without this DPDK application cannot build either host or target.
Step1:
Build platform with dpdk-dev package into target image.
../wrlinux-x/setup.sh --machines qemux86-64 --dl-layers --templates feature/dpdk feature/target-toolchain
Step2: Modify build/conf/local.conf and add packages like,
IMAGE_INSTALL_append = " kernel-devsrc dpdk-dev dpdk-staticdev lua lua-dev lua-staticdev libpcap-dev"
Then build platform
Step2:
In the target image, /usr/share/dpdk does not have mk/ directory. Which DPDK-SDK need them.
Modify layers/meta-dpdk/recipes-extended/dpdk/dpdk.inc and added line to mk/ directory was included.
FILES_${PN}-dev += " \
${INSTALL_PATH}/${RTE_TARGET}/.config \
${includedir} \
${includedir}/${ARCHDIR} \
${includedir}/exec-env \
${INSTALL_PATH}/buildtools/ \
${INSTALL_PATH}/${RTE_TARGET}/include \
${INSTALL_PATH}/${RTE_TARGET}/lib \
${INSTALL_PATH}/mk/ \ <- Add this line
"
Step1:
Build platform with dpdk-dev package into target image.
../wrlinux-x/setup.sh --machines qemux86-64 --dl-layers --templates feature/dpdk feature/target-toolchain
Step2: Modify build/conf/local.conf and add packages like,
IMAGE_INSTALL_append = " kernel-devsrc dpdk-dev dpdk-staticdev lua lua-dev lua-staticdev libpcap-dev"
Then build platform
Step2:
In the target image, /usr/share/dpdk does not have mk/ directory. Which DPDK-SDK need them.