meta-skeleton: Add example multilib usages
PATCH 1/1 meta-skeleton: Add example multilib usages
From: Richard Purdie <[email protected]>
Signed-off-by Richard Purdie <[email protected]>
Signed-off-by Constantin Musca <[email protected]>
--- meta-skeleton/conf/multilib-example.conf | 13 +++++++++++++ meta-skeleton/conf/multilib-example2.conf | 13 +++++++++++++ .../recipes-multilib/images/core-image-multilib-example.bb | 13 +++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 meta-skeleton/conf/multilib-example.conf create mode 100644 meta-skeleton/conf/multilib-example2.conf create mode 100644 meta-skeleton/recipes-multilib/images/core-image-multilib-example.bb
meta-skeleton/conf/multilib-example.conf new file +13 -0
@@ -0,0 +1,13 @@ +# +# Sample multilib configuration which the user can either add in local.conf +# or specific in an configuration file like this, then require it. +# +# This configuration specifies an x86 64 bit machine as the main machine +# type and then adds a multilib in the "lib32" directory where those +# libraries are compiled with the "x86" tune. +# + +MACHINE = "qemux86-64" +require conf/multilib.conf +MULTILIBS = "multilib:lib32" +DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
meta-skeleton/conf/multilib-example2.conf new file +13 -0
@@ -0,0 +1,13 @@ +# +# Sample multilib configuration which the user can either add in local.conf +# or specific in an configuration file like this, then require it. +# +# This configuration specifies an x86 64 bit machine as the main machine +# type and then adds a multilib in the "libx32" directory where those +# libraries are compiled with the "x86-64-x32" tune. +# + +MACHINE = "qemux86-64" +require conf/multilib.conf +MULTILIBS = "multilib:libx32" +DEFAULTTUNE_virtclass-multilib-libx32 = "x86-64-x32"
meta-skeleton/recipes-multilib/images/core-image-multilib-example.bb new file +13 -0
@@ -0,0 +1,13 @@ +# +# An example of a multilib image +# +# This example includes a lib32 version of bash into an otherwise standard +# sato image. It assumes a "lib32" multilib has been enabled in the user's +# configuration (see the example conf files for examples of this.) +# + +# First include a base image to base things off +require recipes-core/images/core-image-sato.bb + +# Now add the multilib packages we want to install +IMAGE_INSTALL += "lib32-bash"
Signature · 1 line
1.7.11.7