On Tue, Oct 09, 2007 at 06:17:43AM +0200, Sam Ravnborg wrote:
What about, that this is the first ever prompt, that must be shown and
written to the .config?
Two issues to fix before we can do this:
1) chocie values cannot have more than one prompt
what occupying all my time now is to try
On Mon, Oct 08, 2007 at 10:02:55PM +0200, Sam Ravnborg wrote:
One of the complaints that I continue to hear is that kbuild
is lacking a way to 'remember' the ARCH and CROSS_COMPILE
values originally used.
Yea, finally.
What about, that this is the first ever prompt, that must be shown and
On Fri, Oct 05, 2007 at 04:35:41AM +0200, Roman Zippel wrote:
Hi,
On Mon, 1 Oct 2007, Oleg Verych wrote:
Today's kconfig was proposed and accepted in a very unpleasant
circumstances, has very poor design, development and no working
alternative (for 5+ years now).
If you want to make
On Thu, Sep 20, 2007 at 06:51:45AM +0200, Sam Ravnborg wrote:
[]
There are several small things that are not addressed in todays
implementation and that will be fixed one way or the other.
Did they get addressed year later or not? What they were (are)?
Nope.
I have not visited the
* Fri, 25 Aug 2006 09:26:54 +0200
read.o - read.c
It will only do this if you ask for it.
The question was what happened when you did make read.o
foo.o - foo.c
bar.o - bar.c
built-in.o - read.c foo.c bar.c
(cf. default current:
built-in.o - read.o foo.o bar.o)
And this
On Thu, Sep 20, 2007 at 02:15:57AM +0200, Oleg Verych wrote:
* Fri, 25 Aug 2006 09:26:54 +0200
read.o - read.c
It will only do this if you ask for it.
The question was what happened when you did make read.o
foo.o - foo.c
bar.o - bar.c
built-in.o - read.c foo.c bar.c
Hallo, Sam.
Can try to find exact wording/archives of the subject?
http://www.uwsg.iu.edu/hypermail/linux/kernel/0202.1/2004.html
Also, please describe what it was from your POV that time back.
I'm doing library/history paper work now, before progressing in my
design, you know. Happened to see
On Sun, Sep 16, 2007 at 05:11:12PM +0200, Sam Ravnborg wrote:
Hi Oleg.
On Sun, Sep 16, 2007 at 03:12:48PM +0200, Oleg Verych wrote:
Hallo, Sam.
Can try to find exact wording/archives of the subject?
http://www.uwsg.iu.edu/hypermail/linux/kernel/0202.1/2004.html
Also, please
On Sun, Sep 16, 2007 at 07:02:27PM +0200, Sam Ravnborg wrote:
[]
CML2 had all config in a single file IIRC.
Kconfig has it distributed all over the tree.
If you need more please elaborate a bit more.
Ahh, i thought about another kind of distribution of configuration.
Namely items, not files,
On Mon, Sep 10, 2007 at 12:45:52AM +0200, Oleg Verych wrote:
[]
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01
It's somewhat a side effect of using select and defaults, the order of the
config symbols becomes significant for oldconfig,
And the patch have a side effect or just buggy `diff -p` output :)
[]
-static void conf_askvalue(struct symbol *sym, const char *def)
+static int conf_askvalue(struct
* Date: Tue, 17 Jul 2007 16:08:54 +0200
From: Mike Frysinger [EMAIL PROTECTED]
The sed expression used at the moment in scripts/Makefile.headersinst
relies on the (handy) GNU extension where you can escape ERE's in an
otherwise BRE without using the GNU -r option. The following patch
On Sat, Jul 21, 2007 at 10:23:44AM +0200, Andreas Schwab wrote:
Oleg Verych [EMAIL PROTECTED] writes:
+ -e
s/[[:space:]]__user[[:space:]]\{1,\}
substitute one or more ' __user '
Substitute ' __user' followed by one or more ' '. \{\} applies only to
the last RE atom
On Sun, Jul 22, 2007 at 12:13:26AM +0200, Sam Ravnborg wrote:
On Sun, Jul 22, 2007 at 12:16:27AM +0200, Oleg Verych wrote:
What do you think about this one? I want to propose to remove
scripts/unifdef.c but to make clear policy about how to mark __KERNEL__
sections in header files. We
On Tue, Jul 17, 2007 at 10:27:22PM +0200, Sam Ravnborg wrote:
On Tue, Jul 17, 2007 at 11:49:42AM -0700, H. Peter Anvin wrote:
For some reason, everything in arch/i386/boot is rebuilt on every
compile. It's not a huge time waster, but it has annoyed people enough
that they ask me about it.
On Tue, Jul 10, 2007 at 10:19:14AM -0700, H. Peter Anvin wrote:
I seem to always be the one with the kbuild corner cases...
As part of my x86 setup rewrite, there has been some concern that using
asm(.code16gcc); isn't as safe as it should be (because of gcc
reordering), and making it safe
assembles output
(hopefully better output, MIPS testing/joining to all arch
probably needed)
rfc-by: Oleg Verych
---
So, is it another not so juicy lets-break-it-all stuff from me, or it just
doesn't apply for you?
I thought update all that asm-offsets stuff just like that. I
[]
+# legacy asm-offsets support (FIXME: convert all archs and remove this)
+old = $(shell test -e $(srctree)/arch/$(ARCH)/kernel/asm-offsets.c echo
yes)
+ifeq ($(old),yes)
+asm-values =asm-offsets
+else
+asm-values =asm-values
One more test here, and files like
|-*-
of the Makefile generating.
Signed-off-by: Oleg Verych [EMAIL PROTECTED]
---
-o--=O`C /. .\
#oo'L O o
___=E M^--
Just lazy typing `make ARCH=i386` every time i want to check lguest.
Makefile | 17 -
scripts/mkmakefile | 42
On Tue, Jun 12, 2007 at 09:12:09AM -0700, Randy Dunlap wrote:
[]
I did:
# build a linux-2.6.22-rc4-git4 kernel source tree cd into it
# mkdir BLD
$ make ARCH=i386 O=BLD defconfig
$ make -j4 O=BLD all BLD/bld.out 21
and it cried to me:
GEN
On Tue, Jun 12, 2007 at 08:09:57PM +0200, Sam Ravnborg wrote:
[]
If we go the save important parts of the config I prefer
something along the suggestion by hpa with a config file.
The config file should though be named along the lines
of Kbuild.config and the syntax should be future proof.
I
Some asm-offsets files define not only offsets, thus make it clear.
Legacy files are supported, but may be freely changed to new scheme.
rfc-by: Oleg Verych
---
If somebody agrees, of course.
Kbuild | 68 ---
1 file
Version number zer0.
--
-o--=O`C
#oo'L O
___=E M
-
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
A small example of how it can be used privately.
rfc-by: Oleg Verych
---
TODO: change lguest files to use it.
drivers/lguest/Makefile |4
drivers/lguest/asm-values.c | 24
2 files changed, 28 insertions(+)
Index: linux-2.6.22-rc4-mm2/drivers
After running this script with filename as parameter,
look (with diff) for, what can be corrected.
Only *.diff and *.patch files are handled as patches.
Signed-off-by: Oleg Verych [EMAIL PROTECTED]
--
Two clean rules added, that can change look of damaged lines.
Yet script still fits one
On Fri, Jun 08, 2007 at 04:28:49PM +0200, Sam Ravnborg wrote:
On Thu, Jun 07, 2007 at 11:44:59PM -0700, Andrew Morton wrote:
Then again, it's a better strategy than trying to read the code ;)
Please, tell us what it does, so that we can decide whether we want it in
Linux.
It does
On Fri, Jun 08, 2007 at 09:05:54PM +0200, Sam Ravnborg wrote:
[]
It does better whitespace cleanup, than
scripts/{cleanfile *and* cleanpatch}
Made a short test here.
Added the following to a file:
static sam = ;
clean-whitespace replaced spaces within with
On Thu, Jun 07, 2007 at 04:19:56PM -0700, H. Peter Anvin wrote:
Oleg Verych wrote:
Because of that, i think, following is redundant:
- to check for binary files
find . -type f | xargs cleanfile
What about patches?
Anyway, by agreement (with myself), i've stopped on having per-file
* From: David Woodhouse
* Date: Thu, 24 May 2007 11:32:45 -0400
On Wed, 2007-05-23 at 13:29 +0100, Jonathan Underwood wrote:
Dear Kernel list,
I've noticed in the past that unifdef is used in kernel package
building. I wonder if you're aware of a maintained and more
featureful program,
While i'm against whitespace damaged files or patches since my very
first patch, and don't like brain damaged programmer's tools called
text editors, i also want to encourage UNIX-way of using userspace.
Of course, i might be wrong and foolish. Anyway, what i'm trying to do
is not to become new
On Wed, Jun 06, 2007 at 07:50:26PM +0200, Sam Ravnborg wrote:
[]
Many things in XXI century still can be done by tools founded 20-30
years ago. Why not try to?
Because your shell script is unreadable by normal human beings[*]
while the perl script for people with a bit of perl fu can read
On Tue, Jun 05, 2007 at 10:19:59AM +0200, Sam Ravnborg wrote:
[]
So, there are some new scripts. What if my proposition will be better,
so to speak? Any problems i'm willing to fix/enhance.
Note: only one copy of the file required. Sym-linked name *diff* or
*patch* will process patches.
On Tue, Jun 05, 2007 at 04:12:54PM +0200, Sam Ravnborg wrote:
On Tue, Jun 05, 2007 at 03:38:34PM +0200, Oleg Verych wrote:
On Tue, Jun 05, 2007 at 10:19:59AM +0200, Sam Ravnborg wrote:
[]
If on the other hand you are proposing a script to clean whitespace
damage in the code then git
On Tue, Jun 05, 2007 at 04:57:59PM +0200, Oleg Verych wrote:
[]
expand | while read line
do case $line in
++*) echo $line;;
$p*) [ ${#line} -gt $w79 ] : ${long:=line}
echo $line | sed /^$p/{s_ *\$__;s_^$p$s7${s}_$p${t}_;s_$s7 _${t}_g}
;;
*) echo $line
.
Feature: file $(objtree)/null isn't in any clear target (yet).
Cc: Roman Zippel [EMAIL PROTECTED]
Cc: Sam Ravnborg [EMAIL PROTECTED]
Signed-off-by: Oleg Verych [EMAIL PROTECTED]
---
-o--=O`C
#oo'L O
___=E M
--- linux~2.6.20-rc5/scripts/Kbuild.include~blackhole-4-tmpfiles
2007-01-12 19:54
On Wed, Jan 24, 2007 at 05:37:00AM -0500, Robert P. J. Day wrote:
On Wed, 24 Jan 2007, Oleg Verych wrote:
kbuild: improving option checking
...
--- linux~2.6.20-rc5/scripts/Kbuild.include~blackhole-4-tmpfiles
2007-01-12 19:54:26.0 +0100
+++ linux~2.6.20-rc5/scripts
24-01-2007, Robert P. J. Day:
On Wed, 24 Jan 2007, Oleg Verych wrote:
[]
-# Convinient variables
+# Convinient constants
^^
Convenient
Kind of testing i never expected.
um ... it wasn't testing, just a trivial observation. happens
on the LKML all the time
kbuild: create KBUILD_OUTPUT
When requesting build to another directory, try to create it first.
Cc: Sam Ravnborg [EMAIL PROTECTED]
Signed-off-by: Oleg Verych [EMAIL PROTECTED]
---
,-*- bash -*-
|[EMAIL PROTECTED]:~/kernel.org/_work/src/linux-2.6.20-rc5$
|[EMAIL PROTECTED]:~/kernel.org/_work
Blank [EMAIL PROTECTED]
Cc: Sam Ravnborg [EMAIL PROTECTED]
Signed-off-by: Oleg Verych [EMAIL PROTECTED]
---
Original report and fix by Bastian Blank:
The following patch fixes the problem that localversion files where
ignored if the tree lives in a path which contains a ~. It changes the
test
`make -d help | grep Makefile` shows patterns, where make tries to rebuild
included and top makefiles.
Do not let make to do so, by canceling implicit rules on this files.
This must apply for all kinds of top makefiles's targets: *config, *build.
Signed-off-by: Oleg Verych [EMAIL PROTECTED
`make -d help | grep Makefile` shows patterns, where make tries to rebuild
included and top makefiles.
Do not let make to do so, by canceling implicit rules on this files.
This must apply for all kinds of top makefiles's targets: *config, *build.
Signed-off-by: Oleg Verych [EMAIL PROTECTED
Tabify and strip trailing whitespaces.
Cc: Sam Ravnborg [EMAIL PROTECTED]
Signed-off-by: Oleg Verych [EMAIL PROTECTED]
---
(... or open/save/close in GNU Emacs. Linus and all friends, editing
this file, doesn't seem to use decent editor, he-he; khm, sorry ;)
As i was beginner, i wanted
--
This is replacement for
+ makefile-cancel-implicit-rules-on-included-and-top-makefiles.patch
+added to -mm tree
-o--=O`C
#oo'L O
___=E M
-
Using Tomcat but need to do more? Need to support web services, security?
PROTECTED]
Signed-off-by: Oleg Verych [EMAIL PROTECTED]
---
This one was submitted in hope, that it can be small and useful for .19.
It was quied in -mm, this is update.
Makefile | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
Index: linux-2.6.19-rc3/Makefile
On 2006-10-25, Matthias Fechner wrote:
[]
Makefile:
KDIR:= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
there's $(CURDIR), just in case...
-
Using Tomcat but need to do more? Need to support web
Hallo, Matthias.
On 2006-10-24, Matthias Fechner wrote:
I tried today to link a lib (.a) to my kernel module but I could not
found howto do it.
`Documentation/kbuild' directory in your linux sources.
`makefiles.txt' about `lib-y',
`modules.txt' about modules.
Good luck.
with the C compiler?
As far as i can see, no, there isn't.
I have thing to propose, but something with generated header files
will not work yet (e.g kernel/config_data.h). Patch is rfc, of course.
---
From: Oleg Verych [EMAIL PROTECTED]
Subject: [patch, rfc] kbuild: implement checksrc without building
On 2006-10-24, Oleg Verych wrote:
On 2006-10-23, Randy Dunlap wrote:
Hi Sam,
* It seems*
+ $(call if_changed_rule,cc_o_c) || \
+ { echo $(@:.o=.ko); echo $@; } $(MODVERDIR)/$(@F:.o=.mod)
This doesn't work, use ifs instead. Updated.
I have no idea what to do with generated sources
48 matches
Mail list logo