summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorJonathan Bauer2012-09-28 16:46:26 +0200
committerJonathan Bauer2012-09-28 16:46:26 +0200
commitac10793a59475a907434d20a0c77d09f90a7fe6f (patch)
tree2ebdfb86521b99d2f318abc7d23ae79bc1b403d6 /remote
parentgit ignore (diff)
downloadtm-scripts-ac10793a59475a907434d20a0c77d09f90a7fe6f.tar.gz
tm-scripts-ac10793a59475a907434d20a0c77d09f90a7fe6f.tar.xz
tm-scripts-ac10793a59475a907434d20a0c77d09f90a7fe6f.zip
busybox fix 1
Diffstat (limited to 'remote')
-rw-r--r--remote/tools/busybox/build.busybox13
1 files changed, 8 insertions, 5 deletions
diff --git a/remote/tools/busybox/build.busybox b/remote/tools/busybox/build.busybox
index 8671f4b6..0e8b3bf8 100644
--- a/remote/tools/busybox/build.busybox
+++ b/remote/tools/busybox/build.busybox
@@ -2,17 +2,20 @@
. setup-busybox.conf
-fetch_sources() {
- if [ ! -e .fetched_sources ]; then
- git clone $GIT
- touch .fetched_sources
+fetch_source() {
+ [ ! -d src ] && mkdir src
+ if [ ! -e .fetched_source ]; then
+ git clone $GIT src
+ touch .fetched_source
fi
}
build() {
if [ ! -e .built ]; then
- cd busybox
+ cd src
make
+ [ ! -d ../build ] && mkdir ../build
+ make CONFIG_PREFIX=$TOOL_DIR/$TOOL/build install
cd -
touch .built
fi