AnsweredAssumed Answered

T1040 toolchain vtss issue

Question asked by Kees Trommel on Oct 14, 2015
Latest reply on Oct 23, 2015 by Yiping Wang

I have built a custom fsl-toolchain that includes l2switch, this by adding the following recipe to the new layer meta-fsl-custom

 

/meta-fsl-custom/images/fsl-toolchain-custom.bb:

 

require recipes-core/meta/meta-toolchain.bb

 

MULTILIBS_pn-${PN} = ""

TOOLCHAIN_NEED_CONFIGSITE_CACHE += "zlib"

TOOLCHAIN_TARGET_TASK += " \

    l2switch \

    i2c-tools \

    glib-2.0 \

    glib-2.0-dev \

    libcrypto \

    dtc-staticdev \

    libgomp \

    libgomp-dev \

    libgomp-staticdev \

    libstdc++-staticdev \

    ${TCLIBC}-staticdev \

    "

 

CORE_SPECIFIC = " \

    nativesdk-mux-server \

    nativesdk-pme-regex-analyzer \

"

 

CORE_SPECIFIC_ls102xa = ""

 

 

TOOLCHAIN_HOST_TASK += " \

    nativesdk-dtc \

    nativesdk-u-boot-mkimage \

    nativesdk-cst \

    nativesdk-e2fsprogs \

    ${CORE_SPECIFIC} \

"

 

 

TOOLCHAIN_HOST_TASK_append_e500v2 = " \

    nativesdk-boot-format \

    nativesdk-boot-format-config \

 

The toolchain generated by this recipe contains as expected the vtss header files and vtss libraries. However when I include the header vtss_api.h as recommended as follows

 

#include <vtss_api/vtss_api.h>

 

I get the following compile error

 

In file included from /local/ctrommel/hermes/file.c:4:0,

/home/ctrommel/QorIQ-SDK-V1.7/sysroots/ppce5500-fsl-linux/usr/include/vtss_api/vtss_api.h:35:21: fatal error: vtss_os.h: No such file or directory

#include <vtss_os.h>

 

Does a patch exist that fixes this issue?

Outcomes