mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Look for cross toolchain makefiles in /usr/share/toolchains.
The freebsd-binutils and freebsd-gcc* packages install toolchain makefiles to /usr/share/toolchains rather than LOCALBASE. Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D22985
This commit is contained in:
parent
0aabbeff36
commit
39eb07f172
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356289
|
@ -62,6 +62,8 @@ LOCALBASE?= /usr/local
|
|||
.if defined(CROSS_TOOLCHAIN)
|
||||
.if exists(${LOCALBASE}/share/toolchains/${CROSS_TOOLCHAIN}.mk)
|
||||
.include "${LOCALBASE}/share/toolchains/${CROSS_TOOLCHAIN}.mk"
|
||||
.elif exists(/usr/share/toolchains/${CROSS_TOOLCHAIN}.mk)
|
||||
.include "/usr/share/toolchains/${CROSS_TOOLCHAIN}.mk"
|
||||
.elif exists(${CROSS_TOOLCHAIN})
|
||||
.include "${CROSS_TOOLCHAIN}"
|
||||
.else
|
||||
|
|
Loading…
Reference in a new issue