Add OpenBSD to the list of supported build platforms.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28251 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol
2008-10-20 19:44:06 +00:00
parent f868be6863
commit ff1beff8d1
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -466,11 +466,11 @@ HOST_UNARFLAGS ?= x ;
# check the host platform compatibility # check the host platform compatibility
SetPlatformCompatibilityFlagVariables HOST_PLATFORM : HOST : host SetPlatformCompatibilityFlagVariables HOST_PLATFORM : HOST : host
: linux freebsd darwin sunos cygwin ; : linux openbsd freebsd darwin sunos cygwin ;
if $(HOST_PLATFORM) = linux || $(HOST_PLATFORM) = freebsd if $(HOST_PLATFORM) = linux || $(HOST_PLATFORM) = freebsd
|| $(HOST_PLATFORM) = darwin || $(HOST_PLATFORM) = cygwin || $(HOST_PLATFORM) = darwin || $(HOST_PLATFORM) = cygwin
|| $(HOST_PLATFORM) = sunos { || $(HOST_PLATFORM) = sunos || $(HOST_PLATFORM) = openbsd {
# don't use lex: otherwise rc will not work correctly # don't use lex: otherwise rc will not work correctly
if $(LEX) = lex { if $(LEX) = lex {
LEX = flex ; LEX = flex ;
Vendored
+1
View File
@@ -329,6 +329,7 @@ case "${platform}" in
FreeBSD) buildPlatform=freebsd ;; FreeBSD) buildPlatform=freebsd ;;
Haiku) buildPlatform=haiku_host ;; Haiku) buildPlatform=haiku_host ;;
Linux) buildPlatform=linux ;; Linux) buildPlatform=linux ;;
OpenBSD) buildPlatform=openbsd ;;
SunOS) buildPlatform=sunos ;; SunOS) buildPlatform=sunos ;;
CYGWIN_NT-*) buildPlatform=cygwin ;; CYGWIN_NT-*) buildPlatform=cygwin ;;
*) echo Unsupported platform: ${platform} *) echo Unsupported platform: ${platform}