AnsweredAssumed Answered

Add gcc, g++ to custom minimal image

Question asked by Marko Frelih on Dec 28, 2016
Latest reply on Jan 22, 2017 by Yiping Wang

How to add gcc and g++ to custom minimal image, I've tried to add:

IMAGE_INSTALL_append = " sqlite3 gcc g++ make"

into local.conf. Make is found, however, gcc and g++ are not, why?

Here is also bblayers.conf:

# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "6"

 

BBPATH = "${TOPDIR}"
BBFILES ?= ""

 

BBLAYERS ?= " \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta-yocto \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta-yocto-bsp \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-openembedded/meta-oe \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-openembedded/meta-networking \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-openembedded/meta-perl \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-openembedded/meta-python \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-openembedded/meta-ruby \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-openembedded/toolchain-layer \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale-internal \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale-extra \
  "
BBLAYERS_NON_REMOVABLE ?= " \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta-yocto \
  "

Outcomes