blob: 062dd7d7068f768365e29723ec7ee3925b8e467c (
plain)
1
2
3
4
5
6
7
|
if [[ ! -e ${PKG_BASE}/arch/${PKG_ARCH}/${PKG_CFTARG}/target ]]; then
echo "unknown architecture: ${PKG_ARCH}" 1>&2
exit 1
fi
source ${PKG_BASE}/arch/${PKG_ARCH}/${PKG_CFTARG}/environ.sh
export PKG_TARG=$(cat "${PKG_BASE}/arch/${PKG_ARCH}/${PKG_CFTARG}/target")
|