All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <kiszka@domain.hid>
To: xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] [PATCH] native registry dependencies
Date: Tue, 14 Feb 2006 13:45:11 +0100	[thread overview]
Message-ID: <43F1D0D7.7040503@domain.hid> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 172 bytes --]

Hi,

I'm sure now that the native registry is mandatory as soon as
CONFIG_XENO_OPT_PERVASIVE is selected. This patch enforces the selection
in such a scenario.

Jan

[-- Attachment #1.2: registry_dep.patch --]
[-- Type: text/plain, Size: 1385 bytes --]

Index: ksrc/skins/native/Kconfig
===================================================================
--- ksrc/skins/native/Kconfig	(revision 564)
+++ ksrc/skins/native/Kconfig	(working copy)
@@ -9,7 +9,8 @@
 if XENO_SKIN_NATIVE != n
 
 config XENO_OPT_NATIVE_REGISTRY
-	bool "Registry support"
+	bool
+	prompt "Registry support" if !XENO_OPT_PERVASIVE
 	default y
 	help
 	
Index: ksrc/skins/native/Config.in
===================================================================
--- ksrc/skins/native/Config.in	(revision 564)
+++ ksrc/skins/native/Config.in	(working copy)
@@ -7,8 +7,14 @@
 if [ "$CONFIG_XENO_SKIN_NATIVE" != "n" ]; then
 	mainmenu_option next_comment
 	comment 'Native interface options'
-	bool 'Registry support' CONFIG_XENO_OPT_NATIVE_REGISTRY
-	int 'Number of registry slots' CONFIG_XENO_OPT_NATIVE_REGISTRY_NRSLOTS 512
+	if [ "$CONFIG_XENO_OPT_PERVASIVE" != "n" ]; then
+		define_bool CONFIG_XENO_OPT_NATIVE_REGISTRY y
+	else
+		bool 'Registry support' CONFIG_XENO_OPT_NATIVE_REGISTRY
+	fi
+	if [ "$CONFIG_XENO_OPT_NATIVE_REGISTRY" != "n" ]; then
+		int 'Number of registry slots' CONFIG_XENO_OPT_NATIVE_REGISTRY_NRSLOTS 512
+	fi
 	dep_bool 'Message pipes' CONFIG_XENO_OPT_NATIVE_PIPE $CONFIG_XENO_OPT_PIPE
 	if [ "$CONFIG_XENO_OPT_NATIVE_PIPE" != "n" ]; then
 		int 'Bytes in buffer space' CONFIG_XENO_OPT_NATIVE_PIPE_BUFSZ 4096

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

             reply	other threads:[~2006-02-14 12:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-14 12:45 Jan Kiszka [this message]
2006-02-14 16:20 ` [Xenomai-core] [PATCH] native registry dependencies Gilles Chanteperdrix

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=43F1D0D7.7040503@domain.hid \
    --to=kiszka@domain.hid \
    --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.