Files
yocto-template/scripts/setup-paths.sh
2025-12-30 01:53:55 +01:00

12 lines
378 B
Bash

#!/bin/bash
# ---- Configuration -------------------------------------------------
YOCTO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
BUILD_DIR="${1:-build}"
CACHE_BASE="${YOCTO_ROOT}/.cache/yocto"
DL_DIR="${CACHE_BASE}/downloads"
SSTATE_DIR="${CACHE_BASE}/sstate"
POKY_DIR="${YOCTO_ROOT}/poky"
# -------------------------------------------------------------------