summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2014-07-17 13:06:31 (GMT)
committer Jaromil <jaromil@dyne.org>2014-11-21 19:45:24 (GMT)
commitb8a515008f2ecfece790ffb9eba7e4c22f65e053 (patch)
tree56fbcfc4e1d9348d44dbb7833ccaaec7410c6951
parent60ed834b3731bfcd54e8237c0fa5376d5f01b3a8 (diff)
small fixes to build scriptsv1.0
-rw-r--r--build/conf.zsh13
1 files changed, 12 insertions, 1 deletions
diff --git a/build/conf.zsh b/build/conf.zsh
index f4d5134..f02d204 100644
--- a/build/conf.zsh
+++ b/build/conf.zsh
@@ -17,12 +17,23 @@ ZARCH+=(-DARCH=arm -DOSTYPE=android -DVENDOR=dyne)
# TODO: should be /data/data/org.dyne.zshaolin/files/system/
-
init-toolchain-crosstool() {
notice "Initializing Crosstool-NG toolchain"
+# make sure target prefix exists
export PREFIX=$ZHOME/system
+mkdir -p \
+ "$PREFIX"/lib \
+ "$PREFIX"/include \
+ "$PREFIX"/share \
+ "$PREFIX"/man \
+ "$PREFIX"/bin \
+ "$PREFIX"/sbin \
+ "$PREFIX"/etc \
+ "$PREFIX"/var \
+ "$PREFIX"/busybox \
+ "$PREFIX"/libexec
# configure the target
export ZTARGET=arm-dyne-linux-gnueabi