Compress environment checking

This commit is contained in:
Thomas Lovén 2017-10-24 01:23:22 +02:00
parent 82a8676056
commit 6f61f380ee
3 changed files with 3 additions and 24 deletions

View File

@ -1,12 +1,5 @@
#!/bin/sh -e #!/bin/sh -e
if [ -z ${MITTOS64+x} ]; then if [ -z ${MITTOS64+x} ]; then >&2 echo "Unsupported environment! See README"; exit 1; fi
echo -en "\033[31mWarning: \033[0m"
echo "It seems you are trying to build mittos64 in an unsuported environment."
echo "This makefile is designed to run inside a mittos64-specific docker container."
echo "If you know what you're doing, define the environment variable "MITTOS64""
echo "See README.md for more information"
exit 1
fi
gdb -q -x /opt/toolchain/gdbinit gdb -q -x /opt/toolchain/gdbinit

View File

@ -1,13 +1,6 @@
#!/bin/sh -e #!/bin/sh -e
if [ -z ${MITTOS64+x} ]; then if [ -z ${MITTOS64+x} ]; then >&2 echo "Unsupported environment! See README"; exit 1; fi
echo -en "\033[31mWarning: \033[0m"
echo "It seems you are trying to build mittos64 in an unsuported environment."
echo "This makefile is designed to run inside a mittos64-specific docker container."
echo "If you know what you're doing, define the environment variable "MITTOS64""
echo "See README.md for more information"
exit 1
fi
iso=/opt/mittos64.iso iso=/opt/mittos64.iso

View File

@ -1,13 +1,6 @@
#!/bin/sh -e #!/bin/sh -e
if [ -z ${MITTOS64+x} ]; then if [ -z ${MITTOS64+x} ]; then >&2 echo "Unsupported environment! See README"; exit 1; fi
echo -en "\033[31mWarning: \033[0m"
echo "It seems you are trying to build mittos64 in an unsuported environment."
echo "This makefile is designed to run inside a mittos64-specific docker container."
echo "If you know what you're doing, define the environment variable "MITTOS64""
echo "See README.md for more information"
exit 1
fi
sysroot=/opt/sysroot sysroot=/opt/sysroot
iso=/opt/mittos64.iso iso=/opt/mittos64.iso