- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
32 lines
992 B
Bash
32 lines
992 B
Bash
# This is a shell function to be sourced into your shell or placed in your .profile,
|
|
# which makes setting things up for BitBake a bit easier.
|
|
#
|
|
# The author disclaims copyright to the contents of this file and places it in the
|
|
# public domain.
|
|
|
|
bbdev () {
|
|
local BBDIR PKGDIR BUILDDIR
|
|
if test x"$1" = "x--help"; then echo >&2 "syntax: bbdev [bbdir [pkgdir [builddir]]]"; return 1; fi
|
|
if test x"$1" = x; then BBDIR=`pwd`; else BBDIR=$1; fi
|
|
if test x"$2" = x; then PKGDIR=`pwd`; else PKGDIR=$2; fi
|
|
if test x"$3" = x; then BUILDDIR=`pwd`; else BUILDDIR=$3; fi
|
|
|
|
BBDIR=`readlink -f $BBDIR`
|
|
PKGDIR=`readlink -f $PKGDIR`
|
|
BUILDDIR=`readlink -f $BUILDDIR`
|
|
if ! (test -d $BBDIR && test -d $PKGDIR && test -d $BUILDDIR); then
|
|
echo >&2 "syntax: bbdev [bbdir [pkgdir [builddir]]]"
|
|
return 1
|
|
fi
|
|
|
|
PATH=$BBDIR/bin:$PATH
|
|
BBPATH=$BBDIR
|
|
if test x"$BBDIR" != x"$PKGDIR"; then
|
|
BBPATH=$PKGDIR:$BBPATH
|
|
fi
|
|
if test x"$PKGDIR" != x"$BUILDDIR"; then
|
|
BBPATH=$BUILDDIR:$BBPATH
|
|
fi
|
|
export BBPATH
|
|
}
|