mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-16 13:58:33 +00:00
4b1709f90a
This is by far the simplest approach as packages previously in cross-scripts/ could also depend on other packages.
24 lines
289 B
Bash
Executable File
24 lines
289 B
Bash
Executable File
#!/bin/sh
|
|
|
|
umask 022
|
|
|
|
if test -z "$1"; then
|
|
echo usage: $0 pkg... 1>&2
|
|
exit 1
|
|
fi
|
|
|
|
. ./prepare-env
|
|
|
|
if test "$(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 "pkgs/$1"
|
|
shift
|
|
done
|