Module: xenomai-3
Branch: master
Commit: 50f6cb5ac2386f3a52f22514600e934a55483f45
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=50f6cb5ac2386f3a52f22514600e934a55483f45

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sat Aug 22 11:14:56 2015 +0200

scripts/xeno-config: drop obsolete --kcflags switch

There is no point in keeping this switch, since the Kbuild system is
patched to preset the proper include paths for reaching Xenomai kernel
headers when building a RTDM driver over Cobalt.

---

 doc/asciidoc/man1/xeno-config.adoc |    8 +-------
 scripts/xeno-config-cobalt.in      |   21 ---------------------
 scripts/xeno-config-mercury.in     |   13 -------------
 3 files changed, 1 insertion(+), 41 deletions(-)

diff --git a/doc/asciidoc/man1/xeno-config.adoc 
b/doc/asciidoc/man1/xeno-config.adoc
index 5aba121..2844352 100644
--- a/doc/asciidoc/man1/xeno-config.adoc
+++ b/doc/asciidoc/man1/xeno-config.adoc
@@ -35,7 +35,7 @@ SYNOPSIS
 
 *xeno-config* *--version*
 
-*xeno-config* [*--cc*] [*--ccld*] [*--arch*] [*--prefix*] 
[*--posix|alchemy|rtdm|psos|vxworks|smokey*] [*--compat*] 
[*--auto-init*|*no-auto-init*] [*--cflags*] [*--kcflags*] [*--ldflags*] 
[*--library-dir*|*--libdir*|*--user-libdir*]
+*xeno-config* [*--cc*] [*--ccld*] [*--arch*] [*--prefix*] 
[*--posix|alchemy|rtdm|psos|vxworks|smokey*] [*--compat*] 
[*--auto-init*|*no-auto-init*] [*--cflags*] [*--ldflags*] 
[*--library-dir*|*--libdir*|*--user-libdir*]
 
 DESCRIPTION
 ------------
@@ -107,12 +107,6 @@ with POSIX symbol wrapping.
 Output the C compiler command-line options (_CFLAGS_) which are required
 to compile applications based on the selected Xenomai API/skin.
 
-*--kcflags*::
-Output the C compiler command-line options (_CFLAGS_) which are
-required to compile a kernel driver based on the RTDM
-interface. *--rtdm* must appear on the command line before
-*--kcflags*.
-
 *--ldflags*::
 Output the C compiler command-line options (_LDFLAGS_) which are
 required to link applications based on the selected Xenomai API/skin.
diff --git a/scripts/xeno-config-cobalt.in b/scripts/xeno-config-cobalt.in
index 7b623db..d0da716 100644
--- a/scripts/xeno-config-cobalt.in
+++ b/scripts/xeno-config-cobalt.in
@@ -55,7 +55,6 @@ Options :
         --[skin=]posix|vxworks|psos|alchemy|rtdm|smokey|cobalt
         --auto-init|no-auto-init
         --cflags
-        --kcflags
         --ldflags
         --lib*-dir,--libdir,--user-libdir
         --core
@@ -109,7 +108,6 @@ fi
 
 do_ldflags=
 do_cflags=
-do_kcflags=
 
 while test $# -gt 0; do
     case "$1" in
@@ -164,9 +162,6 @@ while test $# -gt 0; do
        --cflags)
            do_cflags=y
            ;;
-       --kcflags)
-           do_kcflags=y
-           ;;
        --ldflags)
            do_ldflags=y
            ;;
@@ -215,22 +210,6 @@ if test x$do_cflags = xy; then
     echo $cflags
 fi
 
-if test x$do_kcflags = xy; then
-    test -z "$skin_list" && skin_list=rtdm
-    for skin in $skin_list; do
-       case "$skin" in
-           rtdm)
-               kcflags='-Iarch/$(SRCARCH)/xenomai/include -Iinclude/xenomai'
-               ;;
-           *)
-               echo "$skin is not a kernel API (maybe --cflags?)" 1>&2
-               exit 1
-               ;;
-       esac
-    done
-    echo $kcflags
-fi
-
 if test x$do_ldflags = xy; then
     if test -z "$skin_list"; then
        echo "no API specified, missing --skin before --ldflags" 1>&2
diff --git a/scripts/xeno-config-mercury.in b/scripts/xeno-config-mercury.in
index 2145182..77cf89c 100644
--- a/scripts/xeno-config-mercury.in
+++ b/scripts/xeno-config-mercury.in
@@ -79,7 +79,6 @@ fi
 
 do_ldflags=
 do_cflags=
-do_kcflags=
 
 while test $# -gt 0; do
     case "$1" in
@@ -129,9 +128,6 @@ while test $# -gt 0; do
        --cflags)
            do_cflags=y
            ;;
-       --kcflags)
-           do_kcflags=y
-           ;;
        --ldflags)
            do_ldflags=y
            ;;
@@ -171,15 +167,6 @@ if test x$do_cflags = xy; then
     echo $cflags
 fi
 
-if test x$do_kcflags = xy; then
-    for skin in $skin_list; do
-       if test \! "$skin" = rtdm; then
-           echo "$skin is not a kernel API (maybe --cflags?)" 1>&2
-           exit 1
-       fi
-    done
-fi
-
 if test x$do_ldflags = xy; then
     test -z "$skin_list" && skin_list=posix
     ldflags=


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

Reply via email to