diff options
Diffstat (limited to 'yocto-poky/meta-skeleton/conf')
-rw-r--r-- | yocto-poky/meta-skeleton/conf/layer.conf | 15 | ||||
-rw-r--r-- | yocto-poky/meta-skeleton/conf/multilib-example.conf | 13 | ||||
-rw-r--r-- | yocto-poky/meta-skeleton/conf/multilib-example2.conf | 13 |
3 files changed, 41 insertions, 0 deletions
diff --git a/yocto-poky/meta-skeleton/conf/layer.conf b/yocto-poky/meta-skeleton/conf/layer.conf new file mode 100644 index 000000000..aca163342 --- /dev/null +++ b/yocto-poky/meta-skeleton/conf/layer.conf @@ -0,0 +1,15 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "skeleton" +BBFILE_PATTERN_skeleton = "^${LAYERDIR}/" +BBFILE_PRIORITY_skeleton = "1" + +# This should only be incremented on significant changes that will +# cause compatibility issues with other layers +LAYERVERSION_skeleton = "1" + +LAYERDEPENDS_skeleton = "core" diff --git a/yocto-poky/meta-skeleton/conf/multilib-example.conf b/yocto-poky/meta-skeleton/conf/multilib-example.conf new file mode 100644 index 000000000..da6da7f1f --- /dev/null +++ b/yocto-poky/meta-skeleton/conf/multilib-example.conf @@ -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" diff --git a/yocto-poky/meta-skeleton/conf/multilib-example2.conf b/yocto-poky/meta-skeleton/conf/multilib-example2.conf new file mode 100644 index 000000000..2596f61d9 --- /dev/null +++ b/yocto-poky/meta-skeleton/conf/multilib-example2.conf @@ -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" |