Re-enabled host platform BeOS version detection. Tested only under BeOS R5.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14586 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -147,15 +147,6 @@ set_default_value HAIKU_LDFLAGS ""
|
|||||||
set_default_value HAIKU_ARFLAGS ru
|
set_default_value HAIKU_ARFLAGS ru
|
||||||
set_default_value HAIKU_UNARFLAGS x
|
set_default_value HAIKU_UNARFLAGS x
|
||||||
|
|
||||||
# host BeOS recognition not needed anymore
|
|
||||||
# revision=`uname -r`
|
|
||||||
# case "$revision" in
|
|
||||||
# 5.1) target=dano ;;
|
|
||||||
# 5.0.4) target=bone ;;
|
|
||||||
# 5.0*) target=r5 ;;
|
|
||||||
# *) target=haiku ;;
|
|
||||||
#esac
|
|
||||||
|
|
||||||
# parse parameters
|
# parse parameters
|
||||||
#
|
#
|
||||||
while [ $# \> 0 ] ; do
|
while [ $# \> 0 ] ; do
|
||||||
@@ -181,8 +172,17 @@ if [ -n "$floppy" ]; then
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# detect the build platform
|
||||||
case "${platform}" in
|
case "${platform}" in
|
||||||
BeOS) buildPlatform=r5 ;;
|
BeOS) revision=`uname -r`
|
||||||
|
case "$revision" in
|
||||||
|
5.1) buildPlatform=dano ;;
|
||||||
|
5.0.4) buildPlatform=bone ;;
|
||||||
|
5.0*) buildPlatform=r5 ;;
|
||||||
|
*) echo Unknown BeOS version: $revision
|
||||||
|
exit 1 ;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
Linux) buildPlatform=linux ;;
|
Linux) buildPlatform=linux ;;
|
||||||
*) echo Unsupported platform: ${platform}
|
*) echo Unsupported platform: ${platform}
|
||||||
exit 1 ;;
|
exit 1 ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user