Browse Source
... to a more natural installation paths, and also include ct-ng into $PATH in the containers. Signed-off-by: Alexey Neyman <stilor@att.net>dev-linux

10 changed files with 40 additions and 21 deletions
@ -1,9 +1,5 @@
|
||||
#!/bin/bash |
||||
|
||||
set -e |
||||
cd |
||||
rm -rf work/bld-samples |
||||
mkdir -p work/bld-samples work/inst-xtools |
||||
cd work/bld-samples |
||||
export PATH=$HOME/work/inst-ctng/bin:$PATH |
||||
ct-ng build-all CT_PREFIX=$HOME/work/inst-xtools ${1+CT_SAMPLES="$*"} |
||||
cd work |
||||
ct-ng build-all ${1+CT_SAMPLES="$*"} |
||||
|
@ -1,10 +1,7 @@
|
||||
#!/bin/bash |
||||
|
||||
set -e |
||||
cd |
||||
rm -rf work/bld-ctng work/inst-ctng |
||||
mkdir work/bld-ctng |
||||
cd work/bld-ctng |
||||
/crosstool-ng/configure --prefix=$HOME/work/inst-ctng |
||||
cd work |
||||
/crosstool-ng/configure --prefix=/opt/ctng |
||||
make |
||||
make install |
||||
|
Loading…
Reference in new issue