sys-devel/gcc-arm-none-eabi: Prefix support

This commit is contained in:
Ultimator14 2022-02-24 14:01:26 +01:00 committed by Rick Farina (Zero_Chaos)
parent a65fa81221
commit 8474abe04d
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -38,7 +38,7 @@ src_install() {
use python2 || rm "${ED}"/opt/gcc-arm-none-eabi/bin/arm-none-eabi-gdb-py
fowners -R root:0 /opt/${PN}
local DEST=/opt/${PN}
local DEST="${EPREFIX}/opt/${PN}"
cat > "${T}/env" << EOF
PATH=${DEST}/bin
ROOTPATH=${DEST}/bin