Module: xenomai-forge
Branch: next
Commit: 1dba7f3b7cc7825cb9e5aac7d6e2b4c97a6a8237
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=1dba7f3b7cc7825cb9e5aac7d6e2b4c97a6a8237

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Fri Jan 17 12:58:35 2014 +0100

scripts: Provide "native" alias in xeno-config

This helps migrating from Xenomai 2.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 scripts/xeno-config-cobalt.in  |    3 +++
 scripts/xeno-config-mercury.in |    3 +++
 2 files changed, 6 insertions(+)

diff --git a/scripts/xeno-config-cobalt.in b/scripts/xeno-config-cobalt.in
index 04ae887..69e741d 100644
--- a/scripts/xeno-config-cobalt.in
+++ b/scripts/xeno-config-cobalt.in
@@ -126,6 +126,9 @@ while test $# -gt 0; do
            fi
            cflags="$XENO_BASE_CFLAGS -I$XENO_INCLUDE_DIR/cobalt"
            for skin in $skin_list; do
+               if [ "$skin" == "native" ]; then
+                       skin="alchemy"
+               fi
                case "$skin" in
                    posix|cobalt)
                        ;;
diff --git a/scripts/xeno-config-mercury.in b/scripts/xeno-config-mercury.in
index 287639e..aa0d750 100644
--- a/scripts/xeno-config-mercury.in
+++ b/scripts/xeno-config-mercury.in
@@ -105,6 +105,9 @@ while test $# -gt 0; do
            fi
            cflags="$XENO_BASE_CFLAGS"
            for skin in $skin_list; do
+               if [ "$skin" == "native" ]; then
+                       skin="alchemy"
+               fi
                case "$skin" in
                    vxworks|psos|alchemy)
                        cflags="$cflags -I$XENO_INCLUDE_DIR/$skin"


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to