summaryrefslogtreecommitdiff
path: root/default.conf
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-12 20:58:17 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-12 20:58:17 +0100
commitde11dde1ed2ee7892b9e79d404448a965ed0e8dc (patch)
tree0f948d5acb0a71906863c93ece12f95d4ddfb06d /default.conf
parent9c18afe15a8138ed7e85fdd0ce84db505e234467 (diff)
downloadbootstrap32-de11dde1ed2ee7892b9e79d404448a965ed0e8dc.tar.xz
added syslinux
Diffstat (limited to 'default.conf')
-rw-r--r--default.conf8
1 files changed, 6 insertions, 2 deletions
diff --git a/default.conf b/default.conf
index 8ecfb3c..e28de34 100644
--- a/default.conf
+++ b/default.conf
@@ -50,9 +50,13 @@ ARCHLINUX32_PACKAGES=$CROSS_HOME/packages32
SCRIPT=$(sudo realpath -s "$0")
SCRIPT_DIR=$(dirname "$SCRIPT")
-if test $(uname -m) = "x86_64"; then
+# CPU we build on
+BUILD_CPU=$(uname -m)
+
+# the asp is different per platform
+if test $BUILD_CPU = "x86_64"; then
ASP=asp
fi
-if test $(uname -m) = "i686"; then
+if test $BUILD_CPU = "i686"; then
ASP=asp32
fi