Module: xenomai-forge Branch: next Commit: 2c8ffbf300ba3291165ad4fffc1ec71332539c8b URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=2c8ffbf300ba3291165ad4fffc1ec71332539c8b
Author: Philippe Gerum <[email protected]> Date: Fri Aug 8 14:11:45 2014 +0200 scripts/xeno-config: accept all legacy forms of --native --- scripts/xeno-config-cobalt.in | 11 ++++++++--- scripts/xeno-config-mercury.in | 8 ++++++-- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/scripts/xeno-config-cobalt.in b/scripts/xeno-config-cobalt.in index cafd697..280b604 100644 --- a/scripts/xeno-config-cobalt.in +++ b/scripts/xeno-config-cobalt.in @@ -137,11 +137,16 @@ while test $# -gt 0; do echo $XENO_LIBRARY_DIR ;; --skin) - skin_list="$skin_list $2" + if [ "$2" = native ]; then + skin_list="$skin_list alchemy" + compat=y + else + skin_list="$skin_list $2" + fi shift ;; - --skin=*) - if [ "$1" = "--skin=native" ]; then + --native|--skin=*) + if [ "$1" = "--skin=native" -o "$1" = "--native" ]; then skin_list="$skin_list alchemy" compat=y else diff --git a/scripts/xeno-config-mercury.in b/scripts/xeno-config-mercury.in index 92764cb..c6eef97 100644 --- a/scripts/xeno-config-mercury.in +++ b/scripts/xeno-config-mercury.in @@ -104,11 +104,15 @@ while test $# -gt 0; do echo $XENO_LIBRARY_DIR ;; --skin) - skin_list="$skin_list $2" + if [ "$2" = native ]; then + skin_list="$skin_list alchemy" + else + skin_list="$skin_list $2" + fi shift ;; --skin=*) - if [ "$1" = "--skin=native" ]; then + if [ "$1" = "--skin=native" -o "$1" = "--native" ]; then skin_list="$skin_list alchemy" else skin_list="$skin_list `expr "$1" : '--skin=\(.*\)'`" _______________________________________________ Xenomai-git mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai-git
