SNAME="ipfire" # Short name
VERSION="2.15" # Version number
CORE="78" # Core Level (Filename)
-PAKFIRE_CORE="77" # Core Level (PAKFIRE)
+PAKFIRE_CORE="78" # Core Level (PAKFIRE)
GIT_BRANCH=`git rev-parse --abbrev-ref HEAD` # Git Branch
SLOGAN="www.ipfire.org" # Software slogan
CONFIG_ROOT=/var/ipfire # Configuration rootdir
# Include funtions
. tools/make-functions
-configure_target "default"
-
if [ -f .config ]; then
. .config
fi
+if [ -n "${TARGET_ARCH}" ]; then
+ configure_target "${TARGET_ARCH}"
+else
+ configure_target "default"
+fi
+
if [ -z $EDITOR ]; then
for i in nano emacs vi; do
EDITOR=$(which $i 2>/dev/null)