mirror of
https://github.com/lingble/tegra-demo-distro.git
synced 2025-10-29 11:42:26 +00:00
Content imported from the old test distro, with the following modifications: * Removed most custom configuration files * All open-source layers fully included under layers/ * Secureboot support removed * Layout reworked to eliminate extra subdirectory for core layer * Added meta-tegra-support layer for holding common metadata for use by all distro layers * Reworked setup-env script to be usable for multiple distros sharing the repository * Added demo image recipes and packagegroups Signed-off-by: Matt Madison <matt@madison.systems>
18 lines
432 B
Bash
18 lines
432 B
Bash
#!/bin/sh
|
|
if ! $(return >/dev/null 2>&1); then
|
|
echo "This script must be sourced" >&2
|
|
exit 1
|
|
fi
|
|
|
|
if [ ! -d "$BUILDDIR/.local/bin" ]; then
|
|
# No local bin dir, see if we need it
|
|
buildenv-host-gcc-check
|
|
if [ -d "$BUILDDIR/.local/bin" ]; then
|
|
PATH="$BUILDDIR/.local/bin:$PATH"
|
|
fi
|
|
else
|
|
# We have local bin dir, re-check the symlinks there
|
|
PATH="$BUILDDIR/.local/bin:$PATH"
|
|
buildenv-host-gcc-check
|
|
fi
|