diff options
author | Khasim Syed Mohammed <khasim.mohammed@arm.com> | 2020-11-05 23:52:25 +0530 |
---|---|---|
committer | Khasim Syed Mohammed <khasim.mohammed@arm.com> | 2020-11-30 20:36:16 +0530 |
commit | 267ca8234b0ea5c8abef4a1a5b13f54713688ef4 (patch) | |
tree | af88fa46664c5fdcc5649f47f3b1156df320cf6b | |
parent | 38ea9ffa17b6ef9685d329892c471f6432945db2 (diff) |
n1sdp: Introduce n1sdpN1SDP-2020.12.15
Introduce bblayers and conf for n1sdp.
Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
-rw-r--r-- | n1sdp/bblayers.conf | 36 | ||||
-rw-r--r-- | n1sdp/local.conf | 24 |
2 files changed, 60 insertions, 0 deletions
diff --git a/n1sdp/bblayers.conf b/n1sdp/bblayers.conf new file mode 100644 index 0000000..249e4ec --- /dev/null +++ b/n1sdp/bblayers.conf @@ -0,0 +1,36 @@ +# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +LCONF_VERSION = "7" +OEROOT := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)))}/../.." + +BBPATH = "${TOPDIR}" + +BBFILES = "" + +# These layers hold recipe metadata not found in OE-core, but lack any machine or distro content +BASELAYERS ?= " \ + ${OEROOT}/layers/meta-yocto/meta-poky \ + ${OEROOT}/layers/meta-openembedded/meta-python \ + ${OEROOT}/layers/meta-openembedded/meta-oe \ + ${OEROOT}/layers/meta-arm/meta-arm \ + ${OEROOT}/layers/meta-kernel \ +" + +# These layers hold machine specific content, aka Board Support Packages + +BSPLAYERS ?= " \ + ${OEROOT}/layers/meta-arm/meta-arm-bsp \ +" + +# Add your overlay location to EXTRALAYERS +# Make sure to have a conf/layers.conf in there +EXTRALAYERS ?= " \ + ${OEROOT}/layers/meta-arm/meta-arm-toolchain \ +" + +BBLAYERS = " \ + ${BASELAYERS} \ + ${BSPLAYERS} \ + ${EXTRALAYERS} \ + ${OEROOT}/layers/openembedded-core/meta \ +" diff --git a/n1sdp/local.conf b/n1sdp/local.conf new file mode 100644 index 0000000..4c4cdcb --- /dev/null +++ b/n1sdp/local.conf @@ -0,0 +1,24 @@ +IMAGE_FEATURES += "debug-tweaks" + +# If SDK is generated from yocto environment then it will not include glibc and static libcrypt.a library +# by default, these libraries are required to build software components, hence enabling it by default. +DISABLE_STATIC_pn-libxcrypt = "" +TOOLCHAIN_TARGET_TASK_append = " glibc-staticdev libxcrypt-staticdev" + +# Enable perf with opencsd library for coresight debugging +PACKAGECONFIG_append_pn-perf = " coresight" +IMAGE_FEATURES += "tools-profile" + +# The below given settings are required only to debug +# They will noticeably increase the size of image hence not enabled by default. + +# By default, the Yocto build system strips symbols from the binaries it packages, +# these symbols will be required for debugging, as they will noticeably increase the size of image +# hence not enabled by default. User can uncomment these lines as required. + +# INHIBIT_PACKAGE_STRIP = "1" +# EXTRA_IMAGE_FEATURES = "dbg-pkgs" + +# Additionally, in order to generate the right type of debuginfo, we also need to add the following: + +# PACKAGE_DEBUG_SPLIT_STYLE = 'debug-file-directory' |