Add gcc, g++ to custom minimal image

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Add gcc, g++ to custom minimal image

ソリューションへジャンプ
18,545件の閲覧回数
markofrelih
Contributor III

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 \
  "

ラベル(1)
1 解決策
9,431件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

The toolchain runs on target board, which is the same exact version as the cross tools in this SDK, is only included in
fsl-image-full rootfs, if you want to add toolchain into other rootfs images, do the following:
1. Edit fsl-image-minimal.bb/fsl-image-core.bb to add packagegroup-core-buildessential in the IMAGE_INSTALL
variable.

2. $ bitbake <rootfs-target>.

Please try the following:

Please add "IMAGE_INSTALL +=packagegroup-core-buildessential" in sources/meta-freescale/recipes-fsl/images/fsl-image-minimal.bb, and rebuild minimal rootfs filesytem with "$bitbake fsl-image-minimal"


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

1 返信
9,432件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

The toolchain runs on target board, which is the same exact version as the cross tools in this SDK, is only included in
fsl-image-full rootfs, if you want to add toolchain into other rootfs images, do the following:
1. Edit fsl-image-minimal.bb/fsl-image-core.bb to add packagegroup-core-buildessential in the IMAGE_INSTALL
variable.

2. $ bitbake <rootfs-target>.

Please try the following:

Please add "IMAGE_INSTALL +=packagegroup-core-buildessential" in sources/meta-freescale/recipes-fsl/images/fsl-image-minimal.bb, and rebuild minimal rootfs filesytem with "$bitbake fsl-image-minimal"


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------