Hi.
I'm trying to include gcc in my Linux image, when building in Yocto.
I recall before that I included :
IMAGE_FEATURES += " \
dev-pkgs \
tools-sdk \
"
But now it seems like it's not working anymore.
How do i include gcc compiler in my image?
Thanks,
Niklas
Clean your image
bitbake -c clean -f
If that does not help, add EXTRA_IMAGE_FEATURES? += "feature1 ...." into your local.conf.
Leo
Hi Leo.
You mentioned EXTRA_IMAGE_FEATURES, what kind of features should it be there to get the gcc?
Right now I can find the arm-poky..... commands in my image, but not the gcc it self.
I did a clean, both on my linux-imx and core-image...
Best regards,
Niklas
Look at local.conf.sample under sources/poky/meta-yocto/conf. All default features are clearly explained there. BTW, what you need is the tool-sdk feature.
?
Hi Leo.
This is the error I get:
ERROR: 'tools-sdk' in IMAGE_FEATURES is not a valid image feature. Valid
features: dbg-pkgs debug-tweaks dev-pkgs doc-pkgs package-management
ptest-pkgs read-only-rootfs splash staticdev-pkgs
Best regards,
Niklas
On Fri, Mar 21, 2014 at 2:46 PM, Leonardo Sandoval Gonzalez <
I included gcc in my local.conf (IMAGE_INSTALL).
Then make a link in /usr/bin from the arm-poky.... to gcc etc.