summaryrefslogtreecommitdiff
path: root/architect.sh
blob: c83df6fd13852453c906dfb2a7e5bfac804595f2 (plain)
1
2
3
4
5
6
if [[ ! -e ${PKG_BASE}/arch/${PKG_ARCH}/target ]]; then
    echo "unknown architecture: ${PKG_ARCH}" 1>&2
    exit 1
fi

export PKG_TARG=$(cat "${PKG_BASE}/arch/${PKG_ARCH}/target")