Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-01-24 05:33:58 +0300
committerJan Kotas <jkotas@microsoft.com>2016-01-24 05:33:58 +0300
commit7a98b5db24bda0571d0e26d1bd42d9cff9f5b2ce (patch)
tree178859cb0c6b11a53847de798faca9f17e2b08d5 /build.sh
parent8cc9ab7b59a30e1d8be84b7b60c178d4cd596305 (diff)
parenta55c01c99bc9b781f9dd9531df6c31b9074d3096 (diff)
Merge pull request #707 from krytarowski/netbsd-support-2
Add NetBSD as a valid OSName and BuildOS type
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh16
1 files changed, 12 insertions, 4 deletions
diff --git a/build.sh b/build.sh
index 7910e2783..c6d79a592 100755
--- a/build.sh
+++ b/build.sh
@@ -289,10 +289,6 @@ esac
# Use uname to determine what the OS is.
OSName=$(uname -s)
case $OSName in
- Linux)
- __BuildOS=Linux
- ;;
-
Darwin)
__BuildOS=OSX
__ToolNugetRuntimeId=osx.10.10-x64
@@ -301,6 +297,18 @@ case $OSName in
FreeBSD)
__BuildOS=FreeBSD
+ # TODO: Add proper FreeBSD target
+ __ToolNugetRuntimeId=osx.10.10-x64
+ __TestNugetRuntimeId=osx.10.10-x64
+ ;;
+
+ Linux)
+ __BuildOS=Linux
+ ;;
+
+ NetBSD)
+ __BuildOS=NetBSD
+ # TODO: Add proper NetBSD target
__ToolNugetRuntimeId=osx.10.10-x64
__TestNugetRuntimeId=osx.10.10-x64
;;