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

    Markus Heidelberg
     
  • There is an error in the make syntax for one of the kbuild examples

    Signed-off-by: David VomLehn
    Signed-off-by: Sam Ravnborg

    David VomLehn
     

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

    Sam Ravnborg
     

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

    Sam Ravnborg
     

15 Jan, 2009

1 commit


08 Jan, 2009

2 commits


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

    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

    Randy Dunlap
     

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

    Mike Frysinger
     

05 May, 2008

1 commit


29 Apr, 2008

1 commit


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

    Richard Hacker
     

29 Jan, 2008

3 commits


23 Oct, 2007

1 commit


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

    Randy Dunlap
     
  • 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
    endif

    Actual usage by the different archs will taken care of later.

    Signed-off-by: Sam Ravnborg

    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
    endif

    Signed-off-by: Sam Ravnborg

    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, s390

    Signed-off-by: Sam Ravnborg

    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, s390

    Signed-off-by: Sam Ravnborg

    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, m68k

    Test was simple to do a defconfig build, apply the patch and check
    that nothing got rebuild.

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     

13 Oct, 2007

2 commits


12 Aug, 2007

1 commit


17 Jul, 2007

1 commit


03 May, 2007

1 commit


18 Feb, 2007

1 commit


13 Dec, 2006

1 commit


30 Nov, 2006

1 commit


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

    Daniel Walker
     
  • 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

    Matt LaPlante
     

01 Oct, 2006

1 commit


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.org

    Signed-off-by: Andi Kleen

    Andi Kleen
     

25 Sep, 2006

5 commits