diff options
Diffstat (limited to 'mk/elftoolchain.os.mk')
-rw-r--r-- | mk/elftoolchain.os.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mk/elftoolchain.os.mk b/mk/elftoolchain.os.mk new file mode 100644 index 000000000000..31d37959f6bb --- /dev/null +++ b/mk/elftoolchain.os.mk @@ -0,0 +1,22 @@ +# +# $Id: elftoolchain.os.mk 2068 2011-10-26 15:49:07Z jkoshy $ +# + +# OS specific build instructions + +.if !defined(OS_HOST) + +# Determine the host operating system flavor. +OS_HOST != uname -s + +# Bring in OS-specific Makefiles, if they exist +.if exists(${TOP}/mk/os.${OS_HOST}.mk) +.include "${TOP}/mk/os.${OS_HOST}.mk" +.endif + +# Bring in per-subproject OS-specific Makefiles, if they exist +.if exists(${.CURDIR}/os.${OS_HOST}.mk) +.include "${.CURDIR}/os.${OS_HOST}.mk" +.endif + +.endif |