From: "XosÉ Vazquez" <xose@wanadoo.es>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: kbuild(2.4) bug and half solution
Date: Fri, 04 Apr 2003 20:51:01 +0200 [thread overview]
Message-ID: <3E8DD415.6080507@wanadoo.es> (raw)
hi,
There is a bug with three options:
Kernel core (/proc/kcore) format (ELF, A.OUT) [ELF]
Enable procfs status report (+2kb) (CONFIG_FT_PROC_FS) [N/y/?]
Support for /proc/radio-typhoon (CONFIG_RADIO_TYPHOON_PROC_FS) [N/y/?]
these options depend on CONFIG_PROC_FS:
drivers/char/ftape/Config.in
if [ "$CONFIG_PROC_FS" = "y" ]; then
bool ' Enable procfs status report (+2kb)' CONFIG_FT_PROC_FS
fi
drivers/media/radio/Config.in
if [ "$CONFIG_PROC_FS" = "y" ]; then
if [ "$CONFIG_RADIO_TYPHOON" != "n" ]; then
bool ' Support for /proc/radio-typhoon'
CONFIG_RADIO_TYPHOON_PROC_FS
fi
fi
arch/i386/config.in
if [ "$CONFIG_PROC_FS" = "y" ]; then
choice 'Kernel core (/proc/kcore) format' \
"ELF CONFIG_KCORE_ELF \
A.OUT CONFIG_KCORE_AOUT" ELF
fi
but for menu oldconfig is impossible make it good because
___CONFIG_PROC_FS is not defined _before_ these options___.
A solution for the bool options are easy:
--cut--
diff -Naur linux/drivers/char/ftape/Config.in
linux.xose/drivers/char/ftape/Config.in
--- linux/drivers/char/ftape/Config.in Thu Jan 16 04:26:28 2003
+++ linux.xose/drivers/char/ftape/Config.in Fri Apr 4 05:16:54 2003
@@ -10,9 +10,9 @@
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
int ' Number of ftape buffers (EXPERIMENTAL)' CONFIG_FT_NR_BUFFERS 3
fi
-if [ "$CONFIG_PROC_FS" = "y" ]; then
- bool ' Enable procfs status report (+2kb)' CONFIG_FT_PROC_FS
-fi
+
+dep_bool ' Enable procfs status report (+2kb)' CONFIG_FT_PROC_FS
$CONFIG_PROC_FS
+
choice 'Debugging output' \
"Normal CONFIG_FT_NORMAL_DEBUG \
Excessive CONFIG_FT_FULL_DEBUG \
diff -Naur linux/drivers/media/radio/Config.in
linux.xose/drivers/media/radio/Config.in
--- linux/drivers/media/radio/Config.in Fri Apr 4 16:24:12 2003
+++ linux.xose/drivers/media/radio/Config.in Fri Apr 4 05:39:46 2003
@@ -40,11 +40,9 @@
hex ' Trust i/o port (usually 0x350 or 0x358)'
CONFIG_RADIO_TRUST_PORT 350
fi
dep_tristate ' Typhoon Radio (a.k.a. EcoRadio)'
CONFIG_RADIO_TYPHOON $CONFIG_VIDEO_DEV
- if [ "$CONFIG_PROC_FS" = "y" ]; then
- if [ "$CONFIG_RADIO_TYPHOON" != "n" ]; then
- bool ' Support for /proc/radio-typhoon'
CONFIG_RADIO_TYPHOON_PROC_FS
- fi
- fi
+
+ dep_mbool ' Support for /proc/radio-typhoon'
CONFIG_RADIO_TYPHOON_PROC_FS $CONFIG_PROC_FS $CONFIG_RADIO_TYPHOON
+
if [ "$CONFIG_RADIO_TYPHOON" = "y" ]; then
hex ' Typhoon I/O port (0x316 or 0x336)'
CONFIG_RADIO_TYPHOON_PORT 316
int ' Typhoon frequency set when muting the device (kHz)'
CONFIG_RADIO_TYPHOON_MUTEFREQ 87500
--end--
to correct the 'choice option' is necesary:
1- to define a 'new' statements called dep_choice
2- to change 'Kernel core (/proc/kcore) format' to a possition bottom
'proc file system support'
3- to change 'proc file system support' to a possition up 'Kernel core
(/proc/kcore) format'
I think 2 and 3 are easier
-thanks-
regards,
--
Galiza nin perdoa nin esquence. Governo demision!
next reply other threads:[~2003-04-04 18:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-04 18:51 XosÉ Vazquez [this message]
2003-04-04 20:13 ` kbuild(2.4) bug and half solution Roman Zippel
2003-04-04 21:22 ` xosé vázquez pérez
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=3E8DD415.6080507@wanadoo.es \
--to=xose@wanadoo.es \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox