Skip to content

Instantly share code, notes, and snippets.

View kergoth's full-sized avatar

Christopher Larson kergoth

  • Siemens Digital Industries Software
  • X @kergoth
View GitHub Profile
+sysroots/aarch64-oe-linux/usr/src/debug/elfutils/0.178-r0/build/libcpu/i386.mnemonics
+sysroots/aarch64-oe-linux/usr/src/debug/elfutils/0.178-r0/build/libcpu/x86_64.mnemonics
+sysroots/aarch64-oe-linux/usr/src/debug/elfutils/0.178-r0/elfutils-0.178/backends/aarch64_cfi.c
+sysroots/aarch64-oe-linux/usr/src/debug/elfutils/0.178-r0/elfutils-0.178/backends/aarch64_corenote.c
+sysroots/aarch64-oe-linux/usr/src/debug/elfutils/0.178-r0/elfutils-0.178/backends/aarch64_init.c
+sysroots/aarch64-oe-linux/usr/src/debug/elfutils/0.178-r0/elfutils-0.178/backends/aarch64_initreg.c
+sysroots/aarch64-oe-linux/usr/src/debug/elfutils/0.178-r0/elfutils-0.178/backends/aarch64_regs.c
+sysroots/aarch64-oe-linux/usr/src/debug/elfutils/0.178-r0/elfutils-0.178/backends/aarch64_reloc.def
+sysroots/aarch64-oe-linux/usr/src/debug/elfutils/0.178-r0/elfutils-0.178/backends/aarch64_retval.c
+sysroots/aarch64-oe-linux/usr/src/debug/elfutils/0.178-r0/elfutils-0.178/backends/aarch64_symbol.c
This file has been truncated, but you can view the full file.
DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-glibc', 'aarch64-linux', 'common']
DEBUG: Executing shell function do_compile
make -r PARALLELMFLAGS="-j64" -C ../git objdir=`pwd` all
make[1]: Entering directory '/mel/kergoth/mel/cos-10/adit-80/build/tmp/work/aarch64-mel-linux/glibc-sourcery/2.27-2018.05-7-r0/git'
LC_ALL=C gawk -f scripts/sysd-rules.awk > /mel/kergoth/mel/cos-10/adit-80/build/tmp/work/aarch64-mel-linux/glibc-sourcery/2.27-2018.05-7-r0/build-aarch64-mel-linux/sysd-rulesT \
-v all_object_suffixes='.o .os .oS' \
-v inhibit_sysdep_asm='' \
-v sysd_rules_patterns='%:% rtld-%:rtld-% rtld-%:% m_%:s_%' \
-v config_sysdirs='sysdeps/unix/sysv/linux/aarch64 sysdeps/aarch64/nptl sysdeps/unix/sysv/linux/generic sysdeps/unix/sysv/linux/wordsize-64 sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix sysdeps/posix sysdeps/aarch64/fpu sysdeps/aarch64/multiarch sysdeps/aarch64 sysdeps/wordsize-64
This file has been truncated, but you can view the full file.
DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-glibc', 'aarch64-linux', 'common']
DEBUG: Executing shell function do_compile
make -r PARALLELMFLAGS="-j64" -C ../git objdir=`pwd` all
make[1]: Entering directory '/mel/kergoth/mel/cos-10/adit-80/build/tmp/work/aarch64-mel-linux/glibc-sourcery/2.27-2018.05-7-r0/git'
LC_ALL=C gawk -f scripts/sysd-rules.awk > /mel/kergoth/mel/cos-10/adit-80/build/tmp/work/aarch64-mel-linux/glibc-sourcery/2.27-2018.05-7-r0/build-aarch64-mel-linux/sysd-rulesT \
-v all_object_suffixes='.o .os .oS' \
-v inhibit_sysdep_asm='' \
-v sysd_rules_patterns='%:% rtld-%:rtld-% rtld-%:% m_%:s_%' \
-v config_sysdirs='sysdeps/unix/sysv/linux/aarch64 sysdeps/aarch64/nptl sysdeps/unix/sysv/linux/generic sysdeps/unix/sysv/linux/wordsize-64 sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix sysdeps/posix sysdeps/aarch64/fpu sysdeps/aarch64/multiarch sysdeps/aarch64 sysdeps/wordsize-64
@kergoth
kergoth / mysub
Last active January 20, 2021 21:52
#!/bin/sh
set -eu
main () {
script="$(resolved_script_path "$0")"
scriptname="${0##*/}"
scriptdir="$(cd "$(dirname "$script")" && pwd -P)"
PATH="$PATH:$scriptdir/libexec:$scriptdir/../libexec"
project adit-custom/
diff --git c/recipes-core/packagegroups/packagegroup-core-adit.bb w/recipes-core/packagegroups/packagegroup-core-adit.bb
index 288f41f..bfd9d2b 100644
--- c/recipes-core/packagegroups/packagegroup-core-adit.bb
+++ w/recipes-core/packagegroups/packagegroup-core-adit.bb
@@ -131,7 +131,7 @@ RDEPENDS_${PN} += " \
iotop \
hostapd \
eet \
project adit-custom/
diff --git c/recipes-core/packagegroups/packagegroup-core-adit.bb w/recipes-core/packagegroups/packagegroup-core-adit.bb
index 288f41f..bfd9d2b 100644
--- c/recipes-core/packagegroups/packagegroup-core-adit.bb
+++ w/recipes-core/packagegroups/packagegroup-core-adit.bb
@@ -131,7 +131,7 @@ RDEPENDS_${PN} += " \
iotop \
hostapd \
eet \
@kergoth
kergoth / NOTES.md
Last active November 13, 2020 18:22

NOTES

  • The layers are non-yocto-compliant in a number of ways: parsing issues, signature changes, etc
  • A number of yocto conventions are violated with varying consequences. For example, machine specifics in layer.conf.
  • Cross-layer dependencies without state LAYERDEPENDS, i.e. meta-bsp on meta-sdk, though only for certain recipes.
  • Exceeding the purpose of the individual layers, both relating to yocto compliance and not. BSPs should not make changes that aren’t specific to that which is needed for the machine, and should avoid altering core components, such as busybox.

As a quick summary of the meaning of Yocto Project Compatible, "Yocto Project Compatible status is appropriate for products, BSPs and other OE-compatible layers, and related open-source projects. These components must be maintained and submitted by an open source project, non-profit, or Yocto Project member organization."

Regarding Yocto compatible/compliant, the ones I see as being an issue for meta-imx follow:

require conf/machine-sdk/x86_64-mingw32.conf
# Use a binary python3 distribution for Windows builds
PREFERRED_PROVIDER_nativesdk-python3_sdkmingw32 = "nativesdk-python3-prebuilt-win64"
PREFERRED_RPROVIDER_nativesdk-python3-core_sdkmingw32 = "nativesdk-python3-prebuilt-win64"
# Mask out the meta-mingw append and move its adjusted contents to our own
# This is needed due to their use of _remove without intermediate variables.
BBMASK += "meta-mingw/recipes-devtools/gdb/gdb-cross-canadian_%.bbappend"
if [ -n "$BASH_SOURCE" ] || [ -n "$ZSH_NAME" ]; then
if [ -n "$BASH_SOURCE" ]; then
scriptdir="$(cd "$(dirname "$BASH_SOURCE")" && pwd)"
elif [ -n "$ZSH_NAME" ]; then
scriptdir="$(cd "$(dirname "$0")" && pwd)"
fi
else
if [ ! -d "/mel/kergoth/mel/fir/cb-toolchain-mlprefix/build/toolchain" ]; then
echo >&2 "Warning: Unable to determine SDK install path from environment setup script location, using default of /mel/kergoth/mel/fir/cb-toolchain-mlprefix/build/toolchain."
fi