Re: [kbuild-devel] help text on choices

2007-07-14 Thread Sam Ravnborg
On Tue, Jul 10, 2007 at 04:30:30PM -0500, Mike Frysinger wrote:
 ive always wondered about this but never got around to asking ;)
 
 is the help text on the top level choice supposed to be usable ?  for example:
 choice
 prompt you [may] have a choice
 default YES
 help
   This help text is never viewable :(
 config YES
 bool yes
 help
   This help text is viewable when yes is selected.
 config NO
 bool no
 help
   This help text is viewable when no is selected.
 endchoice
 
 if you highlight the you [may] have a choice and query help, you get
 no output ... but if you go into the choice selection and query help
 on the options, you can view the help text for those individual ones.
 generally i like to put an overview in the choice help and explain
 each option in depth in the individual choices.

It is a menuconfig limitation. xconfig shows the helptext as one
would expect it to do.

See attached screenshot.

Sam
attachment: mike.png-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel


[kbuild-devel] help text on choices

2007-07-10 Thread Mike Frysinger
ive always wondered about this but never got around to asking ;)

is the help text on the top level choice supposed to be usable ?  for example:
choice
prompt you [may] have a choice
default YES
help
  This help text is never viewable :(
config YES
bool yes
help
  This help text is viewable when yes is selected.
config NO
bool no
help
  This help text is viewable when no is selected.
endchoice

if you highlight the you [may] have a choice and query help, you get
no output ... but if you go into the choice selection and query help
on the options, you can view the help text for those individual ones.
generally i like to put an overview in the choice help and explain
each option in depth in the individual choices.
-mike

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel


Re: [kbuild-devel] Help in Makefile for Kernel module

2005-04-21 Thread suzane miller
Hello Sam,
Thanks for your help. As per your suggestion I modified
the Makefile. However I get main.ko in the maind
directory and foobard.ko in foobard directory. These are
two independent kernel modules. I tried several other things
in the Makefile and I did not make any progress to build
one kernel module of the whole tree. Any help on this
will be appreciated.
Now the tree is as:
  testd
   |
   |-- Makefile
   |
   |--maind
   ||
   ||-- Makefile
   ||-- main.c
   |
   |
   |--foobard
   |   |
   |-- Makefile
   |-- foobar1.c
   |-- foobar2.c
The Makefile in the root directory has:
obj-m   := maind/ foobard/
The Makefile in the maind directory has:
obj-m := main.o
The Makefile in the foobard directory has:
obj-m:= foobard.o
foobard-y := foobar1.o foobar2.o
In the testd directory, I run
make -C /usr/src/linux-2.6.11.7 M=$(pwd) modules
Thanks for any help
Regards
Suzzane
_
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel


[kbuild-devel] Help in Makefile for Kernel module

2005-04-19 Thread suzane miller
Hello,
   I have a Kernel module source tree similar as below:
   |
   |--Makefile
   |
   |--maind
   ||
   ||
   ||-- main.c
   |
   |
   |--foobard
   ||
|
|-- foobar1.c
|
|-- foobar2.c
   The below make file works fine.
##
#
# Linux 2.6 Kernel module Makefile
#
MODULE_NAME = test
$(MODULE_NAME)-objs = maind/main.o foobard/foobar1.o foobard/foobar2.o
ifneq ($(KERNELRELEASE),)
obj-m   := $(MODULE_NAME).o
else
KDIR:= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
all:
   $(MAKE) -C $(KDIR) M=$(PWD) modules
endif
##
   However I would like to know if it is possible to have a Makefile
inside the foobard directory that will link foobar1.o and foobar2.o
into one say foobar.o and have the below line as:
$(MODULE_NAME)-objs = maind/main.o foobard/foobar.o
instead of:
$(MODULE_NAME)-objs = maind/main.o foobard/foobar1.o foobard/foobar2.o
   Thanks for any help
Regards
Suzzane
_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel


Re: [kbuild-devel] Help in Makefile for Kernel module

2005-04-19 Thread Sam Ravnborg
Hi Suzzane

However I would like to know if it is possible to have a Makefile
 inside the foobard directory that will link foobar1.o and foobar2.o
 into one say foobar.o and have the below line as:

The lowest granularity the kbuild system works with is a module.
So what you can do is to define a module in the foobard/ directory.
Then you would stick a dependency on this module in your top-level
module in maind/.

The Makefile's would look like this:

Makefile (stripped all the conditional stuff):

obj-m := maind/ foobard/

foobard/Makefile:
obj-m := foobard.o
foobard-y := foobar1.o foobar2.o

maind/Makefile:
obj-m := main.o


Sam



---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel


Re: [kbuild-devel] help patch: clarification in BLK_DEV_IDEDMA_PCI

2002-11-26 Thread Ralf Stephan
You can even choose to do this (which works fine here):

--- drivers/ide/Config.in.old   Tue Nov 26 14:18:43 2002
+++ drivers/ide/Config.in   Tue Nov 26 15:14:37 2002
@@ -38,6 +38,16 @@
 
comment 'IDE chipset support/bugfixes'
if [ $CONFIG_BLK_DEV_IDE != n ]; then
+ if [ $CONFIG_ALL_PPC = y ]; then
+   bool 'Builtin PowerMac IDE support' CONFIG_BLK_DEV_IDE_PMAC
+   dep_bool '  PowerMac IDE DMA support' CONFIG_BLK_DEV_IDEDMA_PMAC 
+$CONFIG_BLK_DEV_IDE_PMAC
+   dep_bool 'Use DMA by default' CONFIG_BLK_DEV_IDEDMA_PMAC_AUTO 
+$CONFIG_BLK_DEV_IDEDMA_PMAC
+   if [ $CONFIG_BLK_DEV_IDE_PMAC = y ]; then
+ define_bool CONFIG_BLK_DEV_IDEDMA $CONFIG_BLK_DEV_IDEDMA_PMAC
+   fi
+   define_bool CONFIG_BLK_DEV_IDEPCI $CONFIG_BLK_DEV_IDEDMA_PMAC
+   define_bool CONFIG_BLK_DEV_IDEDMA_PCI $CONFIG_BLK_DEV_IDEDMA_PMAC
+ fi
   dep_bool '  CMD640 chipset bugfix/support' CONFIG_BLK_DEV_CMD640 $CONFIG_X86
   dep_bool 'CMD640 enhanced support' CONFIG_BLK_DEV_CMD640_ENHANCED 
$CONFIG_BLK_DEV_CMD640
   dep_bool '  ISA-PNP EIDE support' CONFIG_BLK_DEV_ISAPNP $CONFIG_ISAPNP
@@ -95,17 +105,6 @@
   bool 'Winbond SL82c105 support' CONFIG_BLK_DEV_SL82C105
fi
  fi
-  fi
-  if [ $CONFIG_ALL_PPC = y ]; then
-bool 'Builtin PowerMac IDE support' CONFIG_BLK_DEV_IDE_PMAC
-dep_bool '  PowerMac IDE DMA support' CONFIG_BLK_DEV_IDEDMA_PMAC 
$CONFIG_BLK_DEV_IDE_PMAC
-dep_bool 'Use DMA by default' CONFIG_BLK_DEV_IDEDMA_PMAC_AUTO 
$CONFIG_BLK_DEV_IDEDMA_PMAC
-if [ $CONFIG_BLK_DEV_IDE_PMAC = y ]; then
-  define_bool CONFIG_BLK_DEV_IDEDMA $CONFIG_BLK_DEV_IDEDMA_PMAC
-fi
-if [ $CONFIG_BLK_DEV_IDEDMA_PMAC = y ]; then
-  define_bool CONFIG_BLK_DEV_IDEPCI $CONFIG_BLK_DEV_IDEDMA_PMAC
-fi
   fi
   if [ $CONFIG_SIBYTE_SWARM = y ]; then
 bool '  SWARM onboard IDE support' CONFIG_BLK_DEV_IDE_SWARM


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel



[kbuild-devel] help patch: clarification in BLK_DEV_IDEDMA_PCI

2002-11-25 Thread Ralf Stephan
Kernel:  2.4.19
Summary: wording in BLK_DEV_IDEDMA_PCI help text is misleading.
Symptom: text contains no hint about Pmacs needing this option
 whenever BLK_DEV_IDEDMA_PMAC is selected leading to
 unresolved symbols at the final link. Been there done that...
Reasons: BLK_DEV_IDEDMA_PMAC code depends on BLK_DEV_IDEDMA_PCI code.
 The text as it is talks only about Pentium systems.

Proposed solutions: 
---
1. the patch below, or,
2. pull the IDEDMA_PMAC options under BLK_DEV_IDEDMA_PCI so that it is
   impossible to select BLK_DEV_IDEDMA_PMAC without BLK_DEV_IDEDMA_PCI.

Greets,
ralf

--- Documentation/Configure.help.orig   Mon Nov 25 16:34:11 2002
+++ Documentation/Configure.helpMon Nov 25 16:43:25 2002
@@ -902,6 +902,10 @@
   Read the comments at the beginning of file:drivers/ide/ide-dma.c
   and the file file:Documentation/ide.txt for more information.
 
+  Say Y here if you have a Powermac with PCI (most iMacs and all
+  newer machines have it). In this case say also Y to the pmac-specific 
+  option(s) below.
+
   It is safe to say Y to this question.
 
 Good-Bad DMA Model-Firmware (WIP)


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel



Re: [kbuild-devel] help patch: clarification in BLK_DEV_IDEDMA_PCI

2002-11-25 Thread Tom Rini
On Mon, Nov 25, 2002 at 05:02:46PM +0100, Ralf Stephan wrote:
 Kernel:  2.4.19
 Summary: wording in BLK_DEV_IDEDMA_PCI help text is misleading.
 Symptom: text contains no hint about Pmacs needing this option
  whenever BLK_DEV_IDEDMA_PMAC is selected leading to
unresolved symbols at the final link. Been there done that...
 Reasons: BLK_DEV_IDEDMA_PMAC code depends on BLK_DEV_IDEDMA_PCI code.
  The text as it is talks only about Pentium systems.
 
 Proposed solutions: 
 ---
 1. the patch below, or,
[snip a patch mentioning that powerpmac + PCI == enable this]
 2. pull the IDEDMA_PMAC options under BLK_DEV_IDEDMA_PCI so that it is
impossible to select BLK_DEV_IDEDMA_PMAC without BLK_DEV_IDEDMA_PCI.

IMHO anyhow, 2 is the most correct.  Paul?

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel