mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-16 13:08:33 +00:00
22 lines
272 B
Bash
Executable File
22 lines
272 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if test -z "$1"; then
|
|
echo usage: $0 pkgpath... 1>&2
|
|
exit 1
|
|
fi
|
|
|
|
. ./prepare-env
|
|
|
|
if [ $(uname -m) != $arch ]; then
|
|
echo You need an $arch host to build morpheus 1>&2
|
|
exit 1
|
|
fi
|
|
|
|
. ./prepare-root
|
|
mkdir -p src
|
|
|
|
while [ $# -gt 0 ]; do
|
|
./build "$1"
|
|
shift
|
|
done
|