diff --git a/Makefile.inc1 b/Makefile.inc1 index 2d2a5295ac22..bfcb0a70189f 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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