This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] PROCESSOR-SDK-AM64X:在 Processor-SDK-Linux v10.01.10.04中启用第三方库以进行交叉编译

Guru**** 2456290 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1478505/processor-sdk-am64x-enabling-3rd-party-lib-in-processor-sdk-linux-v10-01-10-04-for-cross-compilation

器件型号:PROCESSOR-SDK-AM64X

工具与软件:

尊敬的 TI 支持团队:

我有一个与 Processor-SDK-Linux 相关的问题。 默认情况下、不包含"libnl"库、但需要该库才能为目标交叉编译我的应用程序。 为此、我在文件中添加了以下行$BUILDDIR/conf/local.conf、以使其在目标上可用:

IMAGE_INSTALL:append = " libnl libnl-dev"

遗憾的是、本文档没有提供有关使用 Yocto Internal SDK 的指导。 如何确保"libnl"在 Processor-SDK-Linux 版本10.01.10.04中正确可用才能成功地交叉编译应用程序?

提前感谢您、祝您愉快

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    伊凡、您好!

    您可以尝试以下方法吗? 这是我的笔记、但我尚未将其与当前 SDK 结合进行测试、因此感谢您提供反馈。

    # Make sure package-related libraries etc. for a specific package are made part
    # of the toolchain installer build with `bitbake meta-toolchain-arago-tisdk`.
    # Note that for header files (.h) to get populated into the devkit installer
    # one need to add the respective '-dev' package variants.
    TOOLCHAIN_TARGET_TASK:append = " package_1 package_2 ..."

    此致、Andreas