mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-16 09:28: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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Export important variables for the build scripts
|
. ./prepare-env
|
||||||
top=$(pwd)
|
|
||||||
root=$top/root
|
|
||||||
mirror=http://dl.2f30.org/morpheus-pkgs
|
|
||||||
export top root mirror
|
|
||||||
|
|
||||||
PATH=$top/cross/bin:$PATH
|
|
||||||
export PATH
|
|
||||||
|
|
||||||
./build "$1"
|
./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
|
#!/bin/sh
|
||||||
|
|
||||||
top=$(pwd)
|
. ./prepare-env
|
||||||
root=$top/root
|
|
||||||
|
|
||||||
pushd $root && find . | cpio --quiet -H newc -o | gzip -9 -n > ../morpheus.img && popd
|
pushd $root && find . | cpio --quiet -H newc -o | gzip -9 -n > ../morpheus.img && popd
|
||||||
|
29
stage0
29
stage0
@ -1,28 +1,19 @@
|
|||||||
#!/bin/sh
|
#!/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
|
./clean
|
||||||
mkdir -p src cross
|
. ./prepare-env
|
||||||
. ./prepare-root
|
. ./prepare-root
|
||||||
|
|
||||||
./build cross-scripts/musl-0.9.13
|
mkdir -p src cross
|
||||||
|
|
||||||
PATH=$top/cross/bin:$PATH
|
# Deps list
|
||||||
export PATH
|
./build cross-scripts/musl
|
||||||
|
./build cross-scripts/libevent
|
||||||
# These are ordered
|
./build cross-scripts/ncurses
|
||||||
./build cross-scripts/libevent-2.0.21
|
./build cross-scripts/zlib
|
||||||
./build cross-scripts/ncurses-5.9
|
#./build cross-scripts/libsigc++
|
||||||
./build cross-scripts/zlib-1.2.8
|
#./build cross-scripts/curl
|
||||||
# ./build cross-scripts/libsigc++-2.3.1
|
#./build cross-scripts/libtorrent
|
||||||
# ./build cross-scripts/curl-7.32.0
|
|
||||||
# ./build cross-scripts/libtorrent-0.13.3
|
|
||||||
|
|
||||||
# Build stage0 packages
|
# Build stage0 packages
|
||||||
pkglist=$(ls pkgs)
|
pkglist=$(ls pkgs)
|
||||||
|
Loading…
Reference in New Issue
Block a user