0
我正在使用bitbake配方來構建NFC庫https://github.com/NXPNFCLinux/linux_libnfc-nci。我使用以下yocto配方bitbake配方包括配置選項
SUMMARY = "Linux NFC stack for NCI based NXP NFC Controllers"
HOMEPAGE = ""
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://src/include/linux_nfc_api.h;endline=17;md5=42fdb99b3ff2c12f594b22a774cb7308"
SECTION = "libs"
SRC_URI = "git://github.com/NXPNFCLinux/linux_libnfc-nci.git"
SRCREV = "118ea118cecda55c1b6a87d151a77b04515687df"
PV = "2.0+git${SRCPV}"
EXTRA_OECONF +="--enable-pn7150"
S = "${WORKDIR}/git"
inherit autotools
FILES_${PN} += "${libdir}/libnfc_nci_linux-1.so"
FILES_SOLIBSDEV = "${libdir}/libnfc_nci_linux.so"
我想包括在配置選項「--enable-pn7150」,因此我包括EXTRA_OECONF bitbake的中配方通過這個選項。但bitbake後顯示錯誤「配置:警告:無法識別的選項: - 啓用-pn7150」。但如果我編譯這個沒有bitbake的庫(使用makefile),那麼配置接受這個選項。如何在bitbake配方中的configure選項中傳遞「--enable-pn7150」?