[Zrouter-src] ZRouter.org: push to ZRouter menu.sh
zrouter-src at zrouter.org
zrouter-src at zrouter.org
Mon Feb 6 18:18:35 UTC 2012
details: http://zrouter.org/hg/zrouter//rev/eeac13549d78
changeset: 367:eeac13549d78
user: ray at terran.dlink.ua
date: Mon Feb 06 20:19:21 2012 +0200
description:
Allow build w/o profiles list, in that case board default profiles list used
diffstat:
menu.sh | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 462445ce9207 -r eeac13549d78 menu.sh
--- a/menu.sh Mon Feb 06 20:18:00 2012 +0200
+++ b/menu.sh Mon Feb 06 20:19:21 2012 +0200
@@ -495,5 +495,13 @@
done
echo "==> building zrouter !!!"
-make -C "${ZROUTER_ROOT}" TARGET_PAIR=${TARGET_PAIR} \
- FREEBSD_SRC_TREE=${FREEBSD_SRC_TREE} OBJ_DIR=${OBJ_DIR} TARGET_PROFILES="${TARGET_BASE_PROFILE} ${TARGET_PROFILES}"
+# If at least one of base profiles selected
+if [ "${TARGET_BASE_PROFILE}" != "" ]; then
+ make -C "${ZROUTER_ROOT}" TARGET_PAIR=${TARGET_PAIR} \
+ FREEBSD_SRC_TREE=${FREEBSD_SRC_TREE} OBJ_DIR=${OBJ_DIR} \
+ TARGET_PROFILES="${TARGET_BASE_PROFILE} ${TARGET_PROFILES}";
+else
+ make -C "${ZROUTER_ROOT}" TARGET_PAIR=${TARGET_PAIR} \
+ FREEBSD_SRC_TREE=${FREEBSD_SRC_TREE} OBJ_DIR=${OBJ_DIR}
+fi
+
More information about the Zrouter-src
mailing list