core-image-* (minimal) with cmake

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

core-image-* (minimal) with cmake

734 次查看
erikraynolds
Contributor III

I am building core-image-minimal where I wanna include cmake but by building it with local.conf configured to include cmake it's not enabled and present on image

MACHINE ??= 'imx8qmmek'

DISTRO ?= 'fsl-imx-xwayland'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"

EXTRA_IMAGE_FEATURES_append = " debug-tweaks eclipse-debug dev-pkgs tools-debug tools-sdk ssh-server-openssh"
TOOLCHAIN_HOST_TASK_append = " nativesdk-cmake nativesdk-make"

IMAGE_INSTALL_append = " cmake"
IMAGE_INSTALL_append = " openssh-sftp-server tcf-agent sshfs-fuse"
IMAGE_INSTALL_append = " net-tools iputils dhcpcd"

How to get cmake on core-image-minimal?

标记 (2)
0 项奖励
1 回复

607 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Erik Raynolds,

The steps for adding cmake look correct. Have you checked on the bitbake log that this task was run correctly? I haven’t tested it but this would install cmake but not configure it so you would need to setup the toolchain, paths and flags in order to use cmake.

Regards,

0 项奖励