Module: xenomai-jki
Branch: for-forge
Commit: 109eb58485135bca036131ef1db9828ef929816c
URL:    
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=109eb58485135bca036131ef1db9828ef929816c

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

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