mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-16 14:18:34 +00:00
Cleanup build system
This commit is contained in:
parent
96ab54a4ef
commit
81f18a212f
9
pkgbuild
9
pkgbuild
@ -5,13 +5,6 @@ if test -z "$1"; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Export important variables for the build scripts
|
||||
top=$(pwd)
|
||||
root=$top/root
|
||||
mirror=http://dl.2f30.org/morpheus-pkgs
|
||||
export top root mirror
|
||||
|
||||
PATH=$top/cross/bin:$PATH
|
||||
export PATH
|
||||
. ./prepare-env
|
||||
|
||||
./build "$1"
|
||||
|
8
prepare-env
Normal file
8
prepare-env
Normal file
@ -0,0 +1,8 @@
|
||||
top=$(pwd)
|
||||
root=$top/root
|
||||
nprocs=4
|
||||
mirror=http://dl.2f30.org/morpheus-pkgs
|
||||
export top root nprocs mirror
|
||||
|
||||
PATH=$top/cross/bin:$PATH
|
||||
export PATH
|
3
repack
3
repack
@ -1,6 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
top=$(pwd)
|
||||
root=$top/root
|
||||
. ./prepare-env
|
||||
|
||||
pushd $root && find . | cpio --quiet -H newc -o | gzip -9 -n > ../morpheus.img && popd
|
||||
|
29
stage0
29
stage0
@ -1,28 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Export important variables for the build scripts
|
||||
top=$(pwd)
|
||||
root=$top/root
|
||||
nprocs=4
|
||||
mirror=http://dl.2f30.org/morpheus-pkgs
|
||||
export top root nprocs mirror
|
||||
|
||||
./clean
|
||||
mkdir -p src cross
|
||||
. ./prepare-env
|
||||
. ./prepare-root
|
||||
|
||||
./build cross-scripts/musl-0.9.13
|
||||
mkdir -p src cross
|
||||
|
||||
PATH=$top/cross/bin:$PATH
|
||||
export PATH
|
||||
|
||||
# These are ordered
|
||||
./build cross-scripts/libevent-2.0.21
|
||||
./build cross-scripts/ncurses-5.9
|
||||
./build cross-scripts/zlib-1.2.8
|
||||
# ./build cross-scripts/libsigc++-2.3.1
|
||||
# ./build cross-scripts/curl-7.32.0
|
||||
# ./build cross-scripts/libtorrent-0.13.3
|
||||
# Deps list
|
||||
./build cross-scripts/musl
|
||||
./build cross-scripts/libevent
|
||||
./build cross-scripts/ncurses
|
||||
./build cross-scripts/zlib
|
||||
#./build cross-scripts/libsigc++
|
||||
#./build cross-scripts/curl
|
||||
#./build cross-scripts/libtorrent
|
||||
|
||||
# Build stage0 packages
|
||||
pkglist=$(ls pkgs)
|
||||
|
Loading…
Reference in New Issue
Block a user