10 Jun, 2009
2 commits
-
All the KCONFIG_ environment variables were previously located in a
section "Environment variables in 'menuconfig'", but neither are they
restricted to 'menuconfig' nor are they all used by 'menuconfig'.Introduce the following three sections for these variables:
* Environment variables for '*config'
* Environment variables for '{allyes/allmod/allno/rand}config'
* Environment variables for 'silentoldconfig'Furthermore this puts MENUCONFIG_MODE next to MENUCONFIG_COLOR into a
common section "User interface options for 'menuconfig'".Signed-off-by: Markus Heidelberg
Signed-off-by: Sam Ravnborg -
There is an error in the make syntax for one of the kbuild examples
Signed-off-by: David VomLehn
Signed-off-by: Sam Ravnborg
19 Apr, 2009
1 commit
-
Following patch introduce support for setting options
to gcc that has effect for current directory and all
subdirectories.The typical use case are an architecture or a subsystem that
decide to cover all files with -Werror.
Today alpha, mips and sparc uses -Werror in almost all their
Makefile- with subdir-ccflag-y it is now simpler to do so
as only the top-level directories needs to be covered.Likewise if we decide to cover a full subsystem such
as net/ with -Werror this is done by adding a single
line to net/Makefile.Signed-off-by: Sam Ravnborg
Cc: Ingo Molnar
Cc: "H. Peter Anvin"
Cc: Thomas Gleixner
11 Apr, 2009
1 commit
-
xtensa and arm have asked for a possibility to export headers
and locate them in a specific directory when exported.
Introduce destiantion-y to support this.This patch in additiona adds some limited
documentation for the variables used for exported headers.Signed-off-by: Sam Ravnborg
Cc: Oskar Schirmer
Cc: Mikael Starvik
15 Jan, 2009
1 commit
-
Fix typos in the new kbuild.txt file.
Signed-off-by: Randy Dunlap
Signed-off-by: Sam Ravnborg
08 Jan, 2009
2 commits
-
The text always mentions ...bin.o_shipped, just the example makefiles
actually use ...bin_shipped. It was corrected in one place some time
ago, these ones seem to have been forgotten.Signed-off-by: Wolfram Sang
Signed-off-by: Sam Ravnborg -
This patch reintroduce the ALLSOURCE_ARCHS support for tags/TAGS/
cscope targets. The Kbuild previously has this feature, but after
moving the targets into scripts/tags.sh, ALLSOURCE_ARCHS disappears.It's something like this:
$ make ALLSOURCE_ARCHS="x86 mips arm" tags cscope
Signed-off-by: Jike Song
Signed-off-by: Sam Ravnborg
03 Jan, 2009
2 commits
-
Add kbuild.txt to Documentation/kbuild
More stuff can be added later - at least we have
som of the varous environment variables documented now.Signed-off-by: Sam Ravnborg
-
Create a kconfig user assistance guide, with a few tips and hints
about using menuconfig, xconfig, and gconfig.Mostly contains user interface, environment variables, and search topics,
along with mini.config/custom.config usage.Signed-off-by: Randy Dunlap
Signed-off-by: Sam Ravnborg
04 Dec, 2008
1 commit
-
There is a bunch of places in the build system where we do 'echo' to show
some nice status lines. This means we still get output when running in
silent mode. So declare a new KECHO variable that only does 'echo' when we
are in a suitable verbose build mode.Signed-off-by: Mike Frysinger
[sam: added Documentation]
Signed-off-by: Sam Ravnborg
05 May, 2008
1 commit
-
For the use case the hint describe a simple dependency is
enough.Signed-off-by: Adrian Bunk
Acked-by: Randy Dunlap
29 Apr, 2008
1 commit
-
While select should be used with care, it is not actually evil.
Signed-off-by: Matthew Wilcox
Signed-off-by: Sam Ravnborg
26 Apr, 2008
1 commit
-
This patch adds a new (Kbuild) Makefile variable KBUILD_EXTRA_SYMBOLS.
The space separated list of file names assigned to KBUILD_EXTRA_SYMBOLS
is used when calling scripts/mod/modpost during stage 2 of the Kbuild
process for non-kernel-tree modules.Signed-off-by: Richard Hacker
Signed-off-by: Sam Ravnborg
29 Jan, 2008
3 commits
-
It has been discussed on lkml several times but we need
it documented as this is new stuff.Signed-off-by: Sam Ravnborg
-
Add the possibility to import a value from the environment into kconfig
via the option syntax. Beside flexibility this has the advantage
providing proper dependencies.
Documented the options syntax.Signed-off-by: Roman Zippel
Signed-off-by: Sam Ravnborg -
Add a section on kconfig hints: how to do in Kconfig files.
Fix a few typos/spellos.
Signed-off-by: Randy Dunlap
Signed-off-by: Sam Ravnborg
23 Oct, 2007
1 commit
-
Spelling fixes for cc-cross-prefix documentation
Signed-off-by: Geert Uytterhoeven
Signed-off-by: Sam Ravnborg
20 Oct, 2007
2 commits
-
Add kconfig-language docs for mainmenu, def_bool, and def_tristate.
Remove "requires" as a synonym of "depends on" since it was removed
from the parser in commit 247537b9a270b52cc0375adcb0fb2605a160cba5.Signed-off-by: Randy Dunlap
Signed-off-by: Sam Ravnborg -
cc-cross-prefix is useful for the architecture that like
to provide a default CROSS_COMPILE value,
but may have several to select between.Sample usage:
ifneq ($(SUBARCH),$(ARCH))
ifeq ($(CROSS_COMPILE),)
CROSS_COMPILE := $(call cc-cross-prefix, m68k-linux-gnu- m68k-linux-)
endif
endifActual usage by the different archs will taken care of later.
Signed-off-by: Sam Ravnborg
16 Oct, 2007
3 commits
-
Introduce ccflags-y, asflags-y and ldflags-y so we soon can
deprecate use of EXTRA_CFLAGS, EXTRA_AFLAGS and EXTRA_LDFLAGS.
This patch does not touch any in-tree users - thats next round.
Lets get this committed first and then fix the users of the
soon to be deprecated variants next.The rationale behind this change is to introduce support for
makefile fragments like:ccflags-$(CONFIG_WHATEVER_DEBUG) := -DDEBUG
As a replacement for the uglier:
ifeq ($(CONFIG_WHATEVER_DEBUG),y)
EXTRA_CFLAGS := -DDEBUG
endifSigned-off-by: Sam Ravnborg
-
The variable CPPFLAGS is a wellknown variable and the usage by
kbuild may result in unexpected behaviour.This patch replace use of CPPFLAGS with KBUILD_CPPFLAGS all over the
tree and enabling one to use:
make CPPFLAGS=...
to specify additional CPP commandline options.Patch was tested on following architectures:
alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k, s390Signed-off-by: Sam Ravnborg
-
The variable AFLAGS is a wellknown variable and the usage by
kbuild may result in unexpected behaviour.
On top of that several people over time has asked for a way to
pass in additional flags to gcc.This patch replace use of AFLAGS with KBUILD_AFLAGS all over
the tree.Patch was tested on following architectures:
alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k, s390Signed-off-by: Sam Ravnborg
15 Oct, 2007
1 commit
-
The variable CFLAGS is a wellknown variable and the usage by
kbuild may result in unexpected behaviour.
On top of that several people over time has asked for a way to
pass in additional flags to gcc.This patch replace use of CFLAGS with KBUILD_CFLAGS all over the
tree and enabling one to use:
make CFLAGS=...
to specify additional gcc commandline options.One usecase is when trying to find gcc bugs but other
use cases has been requested too.Patch was tested on following architectures:
alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68kTest was simple to do a defconfig build, apply the patch and check
that nothing got rebuild.Signed-off-by: Sam Ravnborg
13 Oct, 2007
2 commits
-
EXTRA_ARFLAGS have never been used so no need to carry
around on this.
A google search did not reveal any external module
using this either.Signed-off-by: Sam Ravnborg
-
Small error had sneaked in with respect to use
of LDFLAGS_$@. LDFLAGS_$@ is not valid in normal
kbuild files so do not say so.
Fix a reference bug too.Signed-off-by: Sam Ravnborg
12 Aug, 2007
1 commit
-
A warning note from Sam Ravnborg about kconfig's select evilness,
dependencies and the future (slightly corrected).Signed-off-by: Jarek Poplawski
Cc: Sam Ravnborg
Cc: Roman Zippel
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
17 Jul, 2007
1 commit
-
Signed-off-by: Sam Ravnborg
03 May, 2007
1 commit
-
The Makefile fragment in Documentation/kbuild/modules.txt looks to be
missing some braces.Signed-off-by: Anton Blanchard
Signed-off-by: Sam Ravnborg
18 Feb, 2007
1 commit
-
Fix typos/spellos in kbuild/makefiles.txt.
Signed-off-by: Randy Dunlap
Signed-off-by: Adrian Bunk
13 Dec, 2006
1 commit
-
Standardize the miniscule percentage of occurrences of "depends" in
Kconfig files to "depends on", and update kconfig-language.txt to
reflect that.Signed-off-by: Robert P. J. Day
Signed-off-by: Adrian Bunk
30 Nov, 2006
1 commit
-
This patch fixes typos in various Documentation txts. The patch addresses some
misc words.Signed-off-by: Matt LaPlante
Acked-by: Randy Dunlap
Signed-off-by: Adrian Bunk
04 Oct, 2006
2 commits
-
While reading this I noticed that the contents of this document list
section "3.8 Command line dependency" but it doesn't exist in the document.Signed-off-by: Daniel Walker
Cc: Sam Ravnborg
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This patch fixes typos in various Documentation txts. The patch addresses
some words starting with the letter 'S'.Signed-off-by: Matt LaPlante
Acked-by: Alan Cox
Acked-by: Randy Dunlap
Signed-off-by: Adrian Bunk
01 Oct, 2006
1 commit
-
Signed-off-by: "Robert P. J. Day"
Signed-off-by: Sam Ravnborg
26 Sep, 2006
1 commit
-
... instead of using a CONFIG option. The config option still controls
if the resulting executable actually has unwind information.This is useful to prevent compilation errors when users select
CONFIG_STACK_UNWIND on old binutils and also allows to use
CFI in the future for non kernel debugging applications.Cc: jbeulich@novell.com
Cc: sam@ravnborg.orgSigned-off-by: Andi Kleen
25 Sep, 2006
5 commits
-
Signed-off-by: Sam Ravnborg
-
I noticed a few typos while reading makefiles.txt to learn about the
kbuild system. Attached is a patch against 2.6.18 to fix them.
Remove trailing whitespace while we are there..Signed-off-by: Bryce Harrington
Signed-off-by: Sam Ravnborg -
I have done a look-through through Documentation/kbuild/ and my corrections
(proposed) are attached.Cc'ed are original author Michael (responsible for comitting changes to
these files?), Sam (kbuild maintainer), Adrian (-trivial maintainer).Signed-off-by: Jan Engelhardt
Signed-off-by: Sam Ravnborg -
I have done a look-through through Documentation/kbuild/ and my corrections
(proposed) are attached.Cc'ed are original author Michael (responsible for comitting changes to
these files?), Sam (kbuild maintainer), Adrian (-trivial maintainer).Signed-off-by: Jan Engelhardt
Signed-off-by: Sam Ravnborg -
I have done a look-through through Documentation/kbuild/ and my corrections
(proposed) are attached.Cc'ed are original author Michael (responsible for comitting changes to
these files?), Sam (kbuild maintainer), Adrian (-trivial maintainer).Signed-off-by: Jan Engelhardt
Signed-off-by: Sam Ravnborg