Do you use echo -mylocalver localversion to change the local version?
Sam
No, I do makemenuconfig to edit the version. Is that right?
That is fine too.
When building - do you use separate output dir?
Sam
---
The
On Wed, Jan 12, 2005 at 10:39:56PM -, Ross C Mcilroy wrote:
The dependancies between these files and the created object files were
handled using the
VPATH variable in the previous makefile, however this doesn't seem to work
with the
2.6 kernel (I assume because VPATH is already
On Mon, Nov 29, 2004 at 03:36:52PM -0600, Eric Sandeen wrote:
if I have something like:
quiet_cmd_systune = SYSTUNE $
cmd_systune = $(dir $)/gen_systune.pl \
$ \
$(obj)/$(*F)_systunes.c
On Wed, Nov 17, 2004 at 07:54:47AM -0600, Eric Sandeen wrote:
Sam Ravnborg wrote:
There is no need to specify full path.
The kernel is always build with top of output tree as current
directory so a much simpler version is enough:
EXTRA_CFLAGS += -Ifs/xfs -Ifs/xfs/linux-2.6
But what about
On Tue, Nov 16, 2004 at 10:47:57PM -0600, Eric Sandeen wrote:
I'm trying to make the XFS makefile work either embedded in the kernel
tree at fs/xfs/Makefile, or as an out of tree makefile (make -C
/path/to/kernel M=), and keep O= working properly as well.
We currently have EXTRA_CFLAGS
On Fri, Nov 05, 2004 at 10:04:15AM -0600, Timur Tabi wrote:
I'm trying to compile an external module and use the O= kbuild option,
but it's not working for me:
make -C /usr/ammasso/src/sles9/2.6.5-32smp
SUBDIRS=/home/ttabi/sb/starcore/software/host/linux/sys/devccil
On Thu, Nov 04, 2004 at 04:54:54PM +0530, Anupam Kapoor wrote:
hi all,
we have bunch of source files making up linux-26 driver and we are
using kbuild for creating the final kernel module.
the problem is that the name for our kernel object (foo.ko) clashes
with one of the sources (foo.c).
On Sat, Nov 13, 2004 at 07:55:54PM -0600, Timur Tabi wrote:
Sam Ravnborg wrote:
Today it is not possible to tell kbuild to store output files
in a different directory when building external modules.
So for an external module located in .../external/foo output files
for the module
On Sat, Oct 16, 2004 at 09:25:48AM -0400, Jim Nelson wrote:
Fixes misspelling in kernel/power/Kconfig in 2.6.9-rc4
diff -u kernel/power/Kconfig.orig kernel/power/Kconfig
Hi Jim.
Can you please resend everything to linux-kernel.
There they will get proper peer-review - the audience here is
On Wed, Sep 29, 2004 at 04:17:17PM +, Harshad Toke wrote:
Hi,
I have a kernel module foo.o that needs
to be linked with an existing lib.a. This library
has been already built and should be used
only at the link step of the external module.
I could not find a way to achive this. If
On Wed, Aug 11, 2004 at 10:17:25PM +0200, Adrian Bunk wrote:
On Sat, Aug 07, 2004 at 08:12:56PM +0200, Arnd Bergmann wrote:
...
On Samstag, 7. August 2004 19:25, Adrian Bunk wrote:
Is there eny reason for such options that are never visible nor enabled,
or could they be removed?
On Sun, Mar 21, 2004 at 09:44:50AM -0500, Joachim Förster wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi!
I am just a beginner with kbuild and I've got one question: I know that
it is possible to make fs/fat/ to get the objects which are in this
directory.
But now I selected
On Tue, Mar 09, 2004 at 12:22:04PM +0300, Sergey V. Udaltsov wrote:
Hi all
At some point, Andreas offered some patch to fix the
broken build process for external modules
(http://www.mail-archive.com/[EMAIL PROTECTED]/msg02079.html).
What is the current status of this issue?
We (Andreas and
On Sun, Mar 07, 2004 at 01:44:58AM +0100, Andreas Gruenbacher wrote:
Hello,
here is the patch I posted previously that adds support for modversions
in external kernel modules that are built outside the main kernel tree
(first posting archived here: http://lwn.net/Articles/69148/). Relative
On Sun, Mar 07, 2004 at 03:01:31PM +0100, Arjan van de Ven wrote:
and it's missing the symbols from
module files.
sure but the module files are generally installed...
I'm aiming for a situation where I can build external modules,
using an almost clean kernel src tree.
Which means that my
On Sun, Mar 07, 2004 at 02:32:14PM +0100, Andreas Gruenbacher wrote:
What I have in mind is something like this:
- Get rid of current use of SUBDIRS. It is no longer used in any
arch Makefiles.
- Introduce a KBUILD_EXTMOD variable that is only set when building
external modules
-
On Sun, Mar 07, 2004 at 05:45:22PM +0100, Andreas Gruenbacher wrote:
All in all, in the end I changed my mind. I now think that it's better
to build modules against a clean kernel source tree that additionally
has the modversions file copied in. This already works when using O=.
With the
On Mon, Feb 02, 2004 at 07:01:21AM +0100, Andreas Gruenbacher wrote:
I propose the attached patch: It adds symbol version dump/load
functionality to modpost: When compiling the kernel, the module versions
are dumped to a file. When compiling external modules, the dumped
symbols are first
On Tue, Jan 27, 2004 at 01:24:19AM -0500, Michael Elizabeth Chastain wrote:
Maybe you should request Marcelo to remove your mail address from
Configure? That may help long-term.
You're right, I'll go do that.
What is Marcelo's address?
You can reach him at: Marcelo Tosatti [EMAIL
On Mon, Jan 19, 2004 at 09:34:09AM +0100, Stefan Bergler wrote:
I tried to selelct / compile the ide part as module within the kernel,
with only CD-Rom support. 'make all' worked fine.
Building IDE as a module has been known broken for some time now.
It should be OK in 2.6.2-rc1, Bartomlej (the
On Wed, Jan 21, 2004 at 12:13:06PM +0530, Hariprasad Nellitheertha wrote:
The problem with this is that the target is not built when we build LKCD
as a module, as CONFIG_CRASH_DUMP is set to m. I read the kbuild
documentation and there does not seem to be anything equivalent to
extra-y when
On Wed, Jan 21, 2004 at 05:44:26PM -0500, Michael Elizabeth Chastain wrote:
Sam Ravnborg writes:
Today Kai Germaschewski and I are kbuild maintainers, which is
also listed in 2.6.2-rc1 MAINTAINERS.
Right. I still spam-filter the kbuild-devel mailing list,
but that's the extent of my
On Mon, Jan 19, 2004 at 11:00:15AM +0100, Ingo Molnar wrote:
one problem the UML build has in 2.6 is that 'make -j' does not work
after a 'make clean'. The problem is the building of two binaries in
arch/um/util/, which needs the kbuild infrastructure but which tools are
also used for the
On Fri, Jan 16, 2004 at 04:20:36PM -0500, ezra peisach wrote:
If this is the incorrect place, I am sorry - but this is the closest I could
find
make modules_install not install_modules..
Thanks for the reminder, I will push a patch when Linus returns.
Sam
On Sun, Nov 09, 2003 at 06:45:28PM +0100, Andi Kleen wrote:
Hallo,
The x86-64 port is reusing several source files from the i386 port.
Originally in 2.4 this was done using symlinks created in the Makefile;
but that was changed in 2.6 when the separate obj directory support was
added.
On Fri, Oct 31, 2003 at 10:12:42AM -0500, PDock wrote:
Not being a rpm user I have been using the command line O= option.
Please give consideration to the following modification to the linux-2.6
makefile:
# OK, Make called in directory where kernel src resides
# Do we want to locate output
On Mon, Oct 20, 2003 at 11:44:28AM -0700, Adam Litke wrote:
I am working on a patch which requires all .c files to be compiled with
the -pg option. However, there are two specific files for which -pg
must not be used. Below is the current way I am accomplishing this.
Hi Adam.
I have tried to
On Thu, Oct 16, 2003 at 05:07:54PM +0200, Olaf Hering wrote:
Hello,
the 2.6 arch/ppc64/boot/Makefile misses 2 features from 2.4.
Unfortunately, they are not yet part of the main 2.4 tree. I attach the
Makefile for reference.
I cant figure out how to add these 2 things to 2.6.
Which of the
On Fri, Oct 24, 2003 at 12:56:55PM -0700, Adam Litke wrote:
On Fri, 2003-10-24 at 11:39, Sam Ravnborg wrote:
Any chance the last two files can be compiled with -pg also
with a few changes?
I do not see why debugging info can harm here.
Functions inside files compiled with -pg get
On Thu, Oct 23, 2003 at 01:39:46PM -0400, Aamir Rashid wrote:
Hi Folks,
A couple of basic question(s) regarding kbuild-2.5:
1) With the default kbuild-2.5, my kernel compile line is something like:
CC drivers/block/loop.o
CC drivers/block/nbd.o
CC drivers/net/tulip/eeprom.o
CC
On Thu, Oct 09, 2003 at 11:33:39AM -0400, Burton Windle wrote:
Hello. It seems that if you build your kernel with simply 'make -j 2'
instead of 'make -j 2 bzImage', the make system only uses one process
instead of the number specified (I only see one cpp process, and the build
takes twice as
On Sat, Sep 13, 2003 at 08:56:36PM +0200, Martin Schaffner wrote:
4) I can't invoke make menuconfig if I don't have write access to the
linux kernel directory (useful to just look at a configuration of a
write-protected source tree)
When the patch to enable separate output directory is
On Sat, Mar 01, 2003 at 02:59:06PM -0600, Michael Elizabeth Chastain wrote:
BTW I think this list is nearly dead.
Agree. One reason for this is that a couple of times when
new stuff has been ready for inclusion, Linus complained that
it was developed in a 'closed forum' - and he wants public
On Sun, Jan 12, 2003 at 05:47:53PM +0100, Robert Schwebel wrote:
Hi,
is a standalone converter script from cml1 to kconfig still available
somewhere? I remember having read that there was one during the 2.5
inclusion.
Digged up this URL:
http://www.xs4all.nl/~zippel/lc/
Sam
On Sun, Jan 12, 2003 at 10:31:05AM -0800, John van V. wrote:
Hello, could you please give me an over view of what this all does...
Could you please be a bit more specific in your questions.
Do you request info about hte cml1 - Kconfig converter, or just Kconfig
itself?
Kconfig is a simple
On Tue, Jan 07, 2003 at 02:07:21PM -0800, John van V. wrote:
Hi, I have been compiling kernels for a branch of a security project called
Devil-Linux, also on sourceforge.
It has been a hit or miss process for me. Unlike GNU compliant software
compiles, I have been unable to standardize
Based on some initial work by Kai Germaschewski I have made a
working prototype of separate obj/src tree.
Usage example:
#src located in ~/bk/linux-2.5.sepobj
mkdir ~/compile/v2.5
cd ~/compile/v2.5
sh ../../kb/v2.5/kbuild
Prints out:
SRCTREE=/home/sam/bk/linux-2.5.sepobj
On Tue, Nov 19, 2002 at 03:22:45PM -0500, Richard B. Johnson wrote:
I have a question; What problem is this supposed to solve?
Two problems (at least):
1) You want to compile your kernel based on two different configurations,
but sharing the same src. No need to have a duplicate of all src.
-
On Tue, Nov 19, 2002 at 12:31:15PM -0800, Larry McVoy wrote:
It can be really nice to maintain a bunch of different architectures at
the same time from the same tree. It also makes it really easy to
clean a tree.
On the other hand, I do wonder whether ccache could be used to get the
same
On Tue, Nov 19, 2002 at 03:46:28PM -0500, Richard B. Johnson wrote:
Different configurations are handled with different .config
files.
And different .config files results in different kernels.
Please note that .config files are also located in OBJTREE.
Cosider something like the following:
On Tue, Nov 19, 2002 at 02:48:09PM -0600, Kai Germaschewski wrote:
Wrt the original patch, I like it, one preliminary comment is that I think
symlinks are nicer than copying. They are faster, shouldn't cause any
trouble on NFS, make uses stat and not lstat, so it gets the
timestamps right,
On Tue, Nov 19, 2002 at 02:51:54PM -0600, Brian Jackson wrote:
Sam Ravnborg writes:
I wonder how hard it would be to do this for other files types. It would be
sort of handy to be able to copy a single file out of the source tree into
the build tree, and have the build use the copy
On Wed, Nov 06, 2002 at 07:52:30PM +0100, Petr Baudis wrote:
Hello,
this patch (against 2.5.46) introduces two special variables which make it
actually possible to have .so as the only product of build in some directory
and to link something against .so being built in another directory.
On Sun, Nov 03, 2002 at 10:58:26AM -0600, Peter Samuelson wrote:
With !KBUILD_VERBOSE output, you can't tell whether a CC or LD line is
for a module or for the kernel proper. Sure, most people probably
don't care, but *I* do. Hence this patch. Output:
CC vmlinux-object.o
CC
[cc: trimmed]
On Thu, Oct 10, 2002 at 10:18:06AM -0400, Jeff Garzik wrote:
Personally I don't care about Config dependency checking... they are
not modified often enough to affect me, and even if they did, dependency
checking based on changes to Config files can get ugly, AFAICS. I just
On Thu, Oct 10, 2002 at 01:32:11PM -0400, Jeff Garzik wrote:
The kernel is written for people with a clue. For people without a
clue, they should use a vendor kernel or ESR's Aunt-Tillie-friendly system.
Dumbing-down the kernel is never the right answer.
Well I'm not talking about
On Wed, Oct 09, 2002 at 02:01:50PM +0200, Roman Zippel wrote:
On Tue, 8 Oct 2002, Linus Torvalds wrote:
Some things made me go eww (but on the whole details):
- I'd prefer the Config.in name, since this has nothing to do with
building, and everything to do with configuration.
On Wed, Oct 09, 2002 at 11:47:16AM -0700, Linus Torvalds wrote:
On Wed, 9 Oct 2002, Sam Ravnborg wrote:
ls rrunner*
should show me not only the implementation [.c + .h] but also
the configuration.
I agree with you, but only if we _always_ have one config file per driver.
Which
On Wed, Oct 09, 2002 at 12:28:44PM -0700, Randy.Dunlap wrote:
The kernel would still have the text-mode configurator.
The way I read the original post by Christoph Hellwig - nope.
If the kernel config library is outside the kernel then the
text-mode versions will fail as well.
Recall that the
On Thu, Oct 03, 2002 at 03:38:22PM -0500, Kai Germaschewski wrote:
You must be missing some of the changes (My first push to bkbits was
incomplete, since I did inadvertently edit Makefile without checking it
out, I do that mistake all the time...). It's fixed in the current repo.
Did a pull
On Wed, Oct 02, 2002 at 09:59:00PM -0500, Kai Germaschewski wrote:
Hi,
I'd appreciate to get comments on the appended patch. It's mostly cleanups
and the like, but the interesting part is the last cset, which is actually
fairly small:
Tried out what I pulled from linux-2.5.make
1)
On Thu, Oct 03, 2002 at 09:26:18PM +0200, Sam Ravnborg wrote:
Hmmm, was the stuff present at bkbits incomplete?
Just checked, yes the attached patch was never. And fixes I think all the
above.
A new round of testing needed
Sam
On Wed, Oct 02, 2002 at 09:59:00PM -0500, Kai Germaschewski wrote:
Hi,
I'd appreciate to get comments on the appended patch.
-obj-$(CONFIG_ACPI_INTERPRETER) := $(patsubst %.c,%.o,$(wildcard *.c))
+obj-y := dsfield.o dsmthdat.o dsopcode.o dswexec.o dswscope.o \
+ dsmethod.o
On Thu, Oct 03, 2002 at 10:01:20PM +0200, Sam Ravnborg wrote:
Now it's testing time..
1)
In order to make it link I had to change the following in rules.make:
# If the list of objects to link is empty, just create an empty O_TARGET
cmd_link_o_target = $(if $(strip $(obj-y
On Thu, Oct 03, 2002 at 03:38:22PM -0500, Kai Germaschewski wrote:
On Thu, 3 Oct 2002, Sam Ravnborg wrote:
On Thu, Oct 03, 2002 at 10:01:20PM +0200, Sam Ravnborg wrote:
Now it's testing time..
[...]
You must be missing some of the changes (My first push to bkbits was
incomplete
On Sat, Sep 28, 2002 at 04:25:43PM +0200, Roman Zippel wrote:
Hi,
At http://www.xs4all.nl/~zippel/lc/ you can find the latest version of the
new config system.
Played with 0.7.1 just a little. Looks good so far.
1) Old tools zapped file: tags around filenames.
An issue (which was also
On Fri, Sep 06, 2002 at 03:45:45PM +1000, Greg Banks wrote:
It seemed easy to add a check to gcml2 for if statements beginning
and ending in the same file, so last night I did it. The result is...
zero such cases in 2.5.33.
The idea popped up when I noticed the missing endmenu in the
On Tue, Aug 27, 2002 at 02:24:40AM +0200, Roman Zippel wrote:
To install simply run 'make install KERNELSRC=..' and to uninstall
'make uninstall KERNELSRC=..', only 'make [oldconfig|config|menuconfig|
xconfig]' is implemented right now, but the rest is easy to do. I tested
it only against
On Mon, Aug 19, 2002 at 07:27:50PM +1000, Greg Banks wrote:
I'm not optimistic that a switch to a new language or even a new
parser for the old language will ever happen.
I asked Linus specifically about the replacement of the shell based parsers.
The answer were quite simple:
- It should be
On Wed, Aug 14, 2002 at 10:22:55AM +1000, Greg Banks wrote:
The trouble is actually achieving that in shell-based parsers where
shell code cannot tell whether $CONFIG_EXPERIMENTAL has been used in
a condition.
Where comes the requirement that we shall keep the existing shell
based config
On Tue, Aug 13, 2002 at 01:23:19PM +1000, Greg Banks wrote:
977missing-experimental-tag
113spurious-experimental-tag
145variant-experimental-tag
30 inconsistent-experimental-tag
13 missing-obsolete-tag
41 spurious-obsolete-tag
25 variant-obsolete-tag
How about
On Mon, Jun 24, 2002 at 12:41:28AM +0200, Arnd Bergmann wrote:
Why do you see so much added value in kbuild support for shadow trees
compared to what a proper SCM tool give you?
For my (linux on s390) purpose, shadow trees are the most important
feature of kb25, because they allow us to
tkparse limit the number of symbols to 2048.
This patch makes the array dynamic avoiding this problem in the future.
The problem showed up in one of the powerpc tree's.
Credit for this patch goes to Keith Owens, I just extracted it from kbuild-2.5.
Sam
--- tkparse.h.orig Fri May
Escape double quotes on eval so the quotes are still there on the second evaluation.
This is required to handle strings with special characters.
Credit for this patch goes to Keith Owens, I simply extracted it from kbuild-2.5.
Sam
--- Menuconfig.orig Fri May 31 21:55:40 2002
+++
On Fri, Feb 15, 2002 at 11:22:00AM +0100, Giacomo Catenazzi wrote:
[Not a single word about the battle ongoing at LKLM...]
kbuild-2.5:
It does the right things! And this should be enought to tell you that
it should be included in the next kernels.
When Keith brought up the inclusion of
I have started using of kbuild recently, latest on top of vanilla
2.4.16.
Executing make -f Makefile-2.5 menuconfig gave me a few suprises.
1) The 'old-style' way to call GCC and friends was used, displaying a
verbose list of options.
2) When menuconfig completed I was asked next to run make
101 - 166 of 166 matches
Mail list logo