From: Jan Kiszka <jan.kiszka@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [PATCH] let skins select nucleus features
Date: Tue, 18 Apr 2006 00:42:41 +0200 [thread overview]
Message-ID: <444419E1.6040100@domain.hid> (raw)
In-Reply-To: <4442786B.40301@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 541 bytes --]
Philippe Gerum wrote:
> Jan Kiszka wrote:
>> Hi,
>>
>> this patch aims at avoiding to select unneeded nucleus features if no
>> user is requiring it in the skins. Particularly, it addresses the
>> nucleus registry and the pipes.
>>
>> I have spent no effort on 2.4 yet as I first want to wait for comments.
>> Furthermore, 2.4. is lacking "select", so the feature selection has to
>> remain manually there anyway.
>
> Looks good. Merged, thanks.
>
In the same sense, but not that comfortable, here is the a 2.4 variant
of the patch.
Jan
[-- Attachment #2: nucl-reg-select-2.4.patch --]
[-- Type: text/x-patch, Size: 2294 bytes --]
Index: ksrc/skins/vrtx/Config.in
===================================================================
--- ksrc/skins/vrtx/Config.in (Revision 941)
+++ ksrc/skins/vrtx/Config.in (Arbeitskopie)
@@ -2,4 +2,10 @@
# Xenomai configuration for Linux v2.4
#
+if [ "$CONFIG_XENO_OPT_REGISTRY" = "n" ]; then
+ comment 'VRTX emulator requires CONFIG_XENO_OPT_REGISTRY'
+else
+
dep_tristate 'VRTX emulator' CONFIG_XENO_SKIN_VRTX $CONFIG_XENO_OPT_NUCLEUS
+
+fi
Index: ksrc/skins/vxworks/Config.in
===================================================================
--- ksrc/skins/vxworks/Config.in (Revision 941)
+++ ksrc/skins/vxworks/Config.in (Arbeitskopie)
@@ -2,4 +2,10 @@
# Xenomai configuration for Linux v2.4
#
+if [ "$CONFIG_XENO_OPT_REGISTRY" = "n" ]; then
+ comment 'VxWorks emulator requires CONFIG_XENO_OPT_REGISTRY'
+else
+
dep_tristate 'VxWorks emulator' CONFIG_XENO_SKIN_VXWORKS $CONFIG_XENO_OPT_NUCLEUS
+
+fi
Index: ksrc/skins/native/Config.in
===================================================================
--- ksrc/skins/native/Config.in (Revision 941)
+++ ksrc/skins/native/Config.in (Arbeitskopie)
@@ -2,6 +2,10 @@
# Xenomai configuration for Linux v2.4
#
+if [ "$CONFIG_XENO_OPT_PERVASIVE" = "y" -a "$CONFIG_XENO_OPT_REGISTRY" = "n" ]; then
+ comment 'Native skin requires CONFIG_XENO_OPT_REGISTRY in pervasive mode'
+else
+
dep_tristate 'Native skin' CONFIG_XENO_SKIN_NATIVE $CONFIG_XENO_OPT_NUCLEUS
if [ "$CONFIG_XENO_SKIN_NATIVE" != "n" ]; then
@@ -24,3 +28,5 @@ if [ "$CONFIG_XENO_SKIN_NATIVE" != "n" ]
bool 'Interrupts' CONFIG_XENO_OPT_NATIVE_INTR
endmenu
fi
+
+fi
Index: ksrc/nucleus/Config.in
===================================================================
--- ksrc/nucleus/Config.in (Revision 941)
+++ ksrc/nucleus/Config.in (Arbeitskopie)
@@ -17,11 +17,7 @@ if [ "$CONFIG_XENO_OPT_NUCLEUS" != "n" ]
if [ "$CONFIG_XENO_OPT_PIPE" != "n" ]; then
int 'Number of pipe devices' CONFIG_XENO_OPT_PIPE_NRDEV 32
fi
- if [ "$CONFIG_XENO_OPT_PERVASIVE" != "n" ]; then
- define_bool CONFIG_XENO_OPT_REGISTRY y
- else
- bool 'Registry support' CONFIG_XENO_OPT_REGISTRY
- fi
+ bool 'Registry support' CONFIG_XENO_OPT_REGISTRY
if [ "$CONFIG_XENO_OPT_REGISTRY" != "n" ]; then
int 'Number of registry slots' CONFIG_XENO_OPT_REGISTRY_NRSLOTS 512
fi
next prev parent reply other threads:[~2006-04-17 22:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-13 18:34 [Xenomai-core] [PATCH] let skins select nucleus features Jan Kiszka
2006-04-16 17:01 ` Philippe Gerum
2006-04-17 22:42 ` Jan Kiszka [this message]
2006-04-18 10:50 ` Philippe Gerum
2006-04-18 12:14 ` Jan Kiszka
2006-04-18 12:20 ` Philippe Gerum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=444419E1.6040100@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=rpm@xenomai.org \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.