Я пытаюсь добавить рецепт в yocto для сборки openssl изначально, то есть для моей хост-машины - X86. Вот мой рецепт, и моя компиляция не говорит о круговых зависимостях. Я не уверен, что делать дальше.
Вот рецепт -
openssl_ git .bb
DESCRIPTION = "Potluck with different functions for different purposes that can be shared among C programs"
HOMEPAGE = "https://github.com/openssl/openssl"
LICENSE = "Apache License 2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c75985e733726beaba57bc5253e96d04"
#inherit cmake pkgconfig
SRC_URI = "git://github.com/openssl/openssl.git"
SRCREV = "${AUTOREV}"
S = "${WORKDIR}/git"
do_configure () {
cd ${S}
./config
}
do_compile () {
# Build openssl
oe_runmake -C ${S}
}
BBCLASSEXTEND += "native"
Вот ошибка сборки -
arm-poky-linux-gnueabi-gcc: error: unrecognized command line option '-m64'
| arm-poky-linux-gnueabi-gcc: error: unrecognized command line option '-m64'
| Makefile:3979: recipe for target 'apps/lib/libapps-lib-app_params.o' failed
| make[1]: *** [apps/lib/libapps-lib-app_params.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| Makefile:3987: recipe for target 'apps/lib/libapps-lib-app_provider.o' failed
| make[1]: *** [apps/lib/libapps-lib-app_provider.o] Error 1
| arm-poky-linux-gnueabi-gcc: error: unrecognized command line option '-m64'
| Makefile:3995: recipe for target 'apps/lib/libapps-lib-app_rand.o' failed
| make[1]: *** [apps/lib/libapps-lib-app_rand.o] Error 1
| arm-poky-linux-gnueabi-gcc: error: unrecognized command line option '-m64'
| Makefile:4003: recipe for target 'apps/lib/libapps-lib-app_x509.o' failed
| make[1]: *** [apps/lib/libapps-lib-app_x509.o] Error 1
| make[1]: Leaving directory '/home/user/temp/custom_yocto/build-custom-zynq/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/openssl/git-r0/git'
| Makefile:3055: recipe for target 'build_sw' failed