11 Jan, 2011

4 commits

  • * 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6: (29 commits)
    of/flattree: forward declare struct device_node in of_fdt.h
    ipmi: explicitly include of_address.h and of_irq.h
    sparc: explicitly cast negative phandle checks to s32
    powerpc/405: Fix missing #{address,size}-cells in i2c node
    powerpc/5200: dts: refactor dts files
    powerpc/5200: dts: Change combatible strings on localbus
    powerpc/5200: dts: remove unused properties
    powerpc/5200: dts: rename nodes to prepare for refactoring dts files
    of/flattree: Update dtc to current mainline.
    of/device: Don't register disabled devices
    powerpc/dts: fix syntax bugs in bluestone.dts
    of: Fixes for OF probing on little endian systems
    of: make drivers depend on CONFIG_OF instead of CONFIG_PPC_OF
    of/flattree: Add of_flat_dt_match() helper function
    of_serial: explicitly include of_irq.h
    of/flattree: Refactor unflatten_device_tree and add fdt_unflatten_tree
    of/flattree: Reorder unflatten_dt_node
    of/flattree: Refactor unflatten_dt_node
    of/flattree: Add non-boottime device tree functions
    of/flattree: Add Kconfig for EARLY_FLATTREE
    ...

    Fix up trivial conflict in arch/sparc/prom/tree_32.c as per Grant.

    Linus Torvalds
     
  • * 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6:
    Documentation/kbuild: add info that 'choice' can have a symbol name
    kbuild: add numeric --set-val option to scripts/config
    headers_check: Fix warning text
    headers_check: better search for functions in headers
    scripts/coccinelle: update for compatability with Coccinelle 0.2.4
    tags: put function prototypes back!
    Kconfig: fix single letter command in scripts/config
    gitignore: add scripts/recordmcount

    Linus Torvalds
     
  • * 'packaging' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6:
    deb-pkg: s/hdr/kernel_headers_/ && s/header/libc_headers_/
    deb-pkg: Make deb-pkg generate a seperate linux-libc-dev deb
    kbuild: create linux-headers package in deb-pkg
    kbuild, deb-pkg: support overriding userland architecture
    kbuild, deb-pkg: select userland architecture based on UTS_MACHINE
    kbuild, deb-pkg: Fix build with paranoid umask

    Linus Torvalds
     
  • * 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6:
    nconf: handle comment entries within choice/endchoice
    kconfig: fix warning
    kconfig: Make expr_copy() take a const argument
    kconfig: simplify select-with-unmet-direct-dependency warning
    kconfig: add more S_INT and S_HEX consistency checks
    kconfig: fix `zconfdebug' extern declaration
    kconfig/conf: merge duplicate switch's case
    kconfig: fix typos
    kbuild/gconf: add dummy inline for bind_textdomain_codeset()
    kbuild/nconf: fix spaces damage
    kconfig: nuke second argument of conf_write_symbol()
    kconfig: do not define AUTOCONF_INCLUDED
    kconfig: the day kconfig warns about "select"-abuse has come

    Linus Torvalds
     

24 Dec, 2010

1 commit

  • This patch adds support for linking device tree blob(s) into
    vmlinux. Modifies asm-generic/vmlinux.lds.h to add linking
    .dtb sections into vmlinux. To maintain compatiblity with the of/fdt
    driver code platforms MUST copy the blob to a non-init memory location
    before the kernel frees the .init.* sections in the image.

    Modifies scripts/Makefile.lib to add a kbuild command to
    compile DTS files to device tree blobs and a rule to create objects to
    wrap the blobs for linking.

    STRUCT_ALIGNMENT is defined in vmlinux.lds.h for use in the rule to
    create wrapper objects for the dtb in Makefile.lib. The
    STRUCT_ALIGN() macro in vmlinux.lds.h is modified to use the
    STRUCT_ALIGNMENT definition.

    The DTB's are placed on 32 byte boundries to allow parsing the blob
    with driver/of/fdt.c during early boot without having to copy the blob
    to get the structure alignment GCC expects.

    A DTB is linked in by adding the DTB object to the list of objects to
    be linked into vmlinux in the archtecture specific Makefile using
    obj-y += foo.dtb.o

    Signed-off-by: Dirk Brandewie
    Acked-by: Michal Marek
    [grant.likely@secretlab.ca: cleaned up whitespace inconsistencies]
    Signed-off-by: Grant Likely

    Dirk Brandewie
     

22 Dec, 2010

1 commit

  • Changeset 5a1aa8a1 added the possibility to name a choice,
    and to have the same choice be defined multiple times.
    But the documentation was forgotten, so this updates it accordingly.

    Thanks to Arnaud Lacombe for pointing it to me in the first place:
    http://www.spinics.net/lists/linux-kbuild/msg03940.html

    Signed-off-by: "Yann E. MORIN"
    Cc: Roman Zippel
    Cc: Arnaud Lacombe
    Signed-off-by: Michal Marek

    Yann E. MORIN
     

20 Dec, 2010

1 commit

  • Usefull if building for sparc64 userland, because the
    sparc and sparc64 userlands use the same 64-bit kernel,
    making it impossible to always select the correct userland
    architecture for the resulting debian package.

    Might also be usefull, if you want a i386 userland with a amd64 kernel.

    Example usage:
    make KBUILD_DEBARCH=i386 deb-pkg

    LKML-reference:
    Signed-off-by: Asbjoern Sloth Toennesen
    Reviewed-by: WANG Cong
    Acked-by: maximilian attems
    Signed-off-by: Michal Marek

    Asbjoern Sloth Toennesen
     

02 Dec, 2010

1 commit


29 Oct, 2010

3 commits

  • * 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6: (39 commits)
    Revert "namespace: add source file location exceptions"
    Coccinelle: Add contextual message
    Coccinelle: Fix documentation
    Coccinelle: Find doubled arguments to boolean or bit operators.
    Coccinelle: Find nested lock+irqsave functions that use the same flags variables.
    namespace: add source file location exceptions
    scripts/extract-ikconfig: add support for bzip2, lzma and lzo
    kbuild: check return value of asprintf()
    scripts/namespace.pl: improve to get more correct results
    scripts/namespace.pl: some bug fixes
    scripts/namespace.pl: update file exclusion list
    scripts/namespace.pl: fix wrong source path
    Coccinelle: Use the -no_show_diff option for org and report mode
    Coccinelle: Add a new mode named 'chain'
    Coccinelle: Use new comment format to explain kfree.cocci
    Coccinelle: Improve user information with a new kind of comment
    Coccinelle: Update documentation
    MAINTAINERS: Coccinelle: Update email address
    Documentation/kbuild: modules.txt cleanup
    Documentation/kbuild: major edit of modules.txt sections 5-8
    ...

    Linus Torvalds
     
  • * 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6: (38 commits)
    kbuild: convert `arch/tile' to the kconfig mainmenu upgrade
    README: cite nconfig
    Revert "kconfig: Temporarily disable dependency warnings"
    kconfig: Use PATH_MAX instead of 128 for path buffer sizes.
    kconfig: Fix realloc usage()
    kconfig: Propagate const
    kconfig: Don't go out from read config loop when you read new symbol
    kconfig: fix menuconfig on debian lenny
    kbuild: migrate all arch to the kconfig mainmenu upgrade
    kconfig: expand file names
    kconfig: use the file's name of sourced file
    kconfig: constify file name
    kconfig: don't emit warning upon rootmenu's prompt redefinition
    kconfig: replace KERNELVERSION usage by the mainmenu's prompt
    kconfig: delay gconf window initialization
    kconfig: expand by default the rootmenu's prompt
    kconfig: add a symbol string expansion helper
    kconfig: regen parser
    kconfig: implement the `mainmenu' directive
    kconfig: allow PACKAGE to be defined on the compiler's command-line
    ...

    Fix up trivial conflict in arch/mn10300/Kconfig

    Linus Torvalds
     
  • * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6:
    initramfs: Fix build break on symbol-prefixed archs
    initramfs: fix initramfs size calculation
    initramfs: generalize initramfs_data.xxx.S variants
    scripts/kallsyms: Enable error messages while hush up unnecessary warnings
    scripts/setlocalversion: update comment
    kbuild: Use a single clean rule for kernel and external modules
    kbuild: Do not run make clean in $(srctree)
    scripts/mod/modpost.c: fix commentary accordingly to last changes
    kbuild: Really don't clean bounds.h and asm-offsets.h

    Linus Torvalds
     

28 Oct, 2010

1 commit


12 Oct, 2010

1 commit


06 Oct, 2010

1 commit

  • A few modifications done for consistency, such as adding the shell
    prompt for command line examples and trailing slash for directories.
    Also corrects the module include header and fixes a few grammar
    issues that I introduced.

    Signed-off-by: matt mooney
    Signed-off-by: Michal Marek

    matt mooney
     

29 Sep, 2010

2 commits


20 Sep, 2010

1 commit

  • If specified, the directive must be placed at the top of the Kconfig file.

    We need to change the grammar to make the mainmenu directive set the
    `rootmenu' prompt. This reflect how menu_add_prompt() works internally, ie.
    set the prompt of the `current_entry', pointing originally to `rootmenu'.

    Signed-off-by: Arnaud Lacombe
    Reviewed-by: Sam Ravnborg
    Reviewed-by: Michal Marek

    Arnaud Lacombe
     

13 Sep, 2010

1 commit


15 Aug, 2010

1 commit


06 Aug, 2010

6 commits

  • * 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6: (26 commits)
    kconfig: add savedefconfig
    kconfig: code refactoring in confdata.c
    kconfig: refactor code in symbol.c
    kconfig: add alldefconfig
    kconfig: print more info when we see a recursive dependency
    kconfig: save location of config symbols
    kconfig: change nonint_oldconfig to listnewconfig
    kconfig: rename loose_nonint_oldconfig => oldnoconfig
    kconfig: use long options in conf
    kconfig: fix MODULES-related bug in case of no .config
    kconfig: make randconfig fair for booleans
    kconfig: Don't write invisible choice values
    kbuild: Warn on selecting symbols with unmet direct dependencies
    scripts:conf.c Fix warning: variable 'type' set but not used
    menuconfig: truncate list items
    menuconfig: fix to center checklist correctly in a corner case
    xconfig: add support to show hidden options which have prompts
    xconfig: remove unused function
    xconfig: clean up
    gconfig: fix null pointer warning
    ...

    Linus Torvalds
     
  • * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6:
    modpost: support objects with more than 64k sections
    trivial: fix a typo in a filename
    frv: clean up arch/frv/Makefile
    kbuild: allow assignment to {A,C}FLAGS_KERNEL on the command line
    kbuild: allow assignment to {A,C,LD}FLAGS_MODULE on the command line
    Kbuild: Add option to set -femit-struct-debug-baseonly
    Makefile: "make kernelrelease" should show the correct full kernel version
    Makefile.build: make KBUILD_SYMTYPES work again

    Linus Torvalds
     
  • Fixed some typos and wording.

    Signed-off-by: Nicolas Kaiser
    Signed-off-by: Linus Torvalds

    Nicolas Kaiser
     
  • Update section 3.7 examples to reflect the current state of the
    Makefiles used. Fix spelling and grammar errors along with flow of text.

    Signed-off-by: matt mooney
    Reviewed-by: WANG Cong
    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Matt Mooney
     
  • Update section 3.2 and 3.5 example, along with text in section 3.5
    to reflect change.

    Signed-off-by: matt mooney
    Reviewed-by: WANG Cong
    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Matt Mooney
     
  • Update section 3.3 Loadable module goals - obj-m, from $(-objs)
    to $(-y) for easier addition of conditional objects to the
    module. The examples are also updated to reflect the current state of
    each Makefile used.

    Signed-off-by: matt mooney
    Reviewed-by: WANG Cong
    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Matt Mooney
     

04 Aug, 2010

2 commits


03 Aug, 2010

3 commits

  • It is now possible to assign options to AS and CC
    on the command line - which is only used for built-in code.

    {A,C}FLAGS_KERNEL was used both in the top-level Makefile
    in the arch makefiles, thus users had no way to specify
    additional options to AS, CC without overriding
    the original value.

    Introduce a new set of variables KBUILD_{A,C}FLAGS_KERNEL
    that is used by arch specific files and free up
    {A,C}FLAGS_KERNEL so they can be assigned on
    the command line.

    All arch Makefiles that used the old variables has been updated.

    Signed-off-by: Sam Ravnborg
    Cc: Tony Luck
    Cc: Hirokazu Takata
    Signed-off-by: Michal Marek

    Sam Ravnborg
     
  • It is now possible to assign options to AS, CC and LD
    on the command line - which is only used when building modules.

    {A,C,LD}FLAGS_MODULE was all used both in the top-level Makefile
    in the arch makefiles, thus users had no way to specify
    additional options to AS, CC, LD when building modules
    without overriding the original value.

    Introduce a new set of variables KBUILD_{A,C,LD}FLAGS_MODULE
    that is used by arch specific files and free up
    {A,C,LD}FLAGS_MODULE so they can be assigned on
    the command line.

    All arch Makefiles that used the old variables has been updated.

    Note: Previously we had a MODFLAGS variable for both
    AS and CC. But in favour of consistency this was dropped.
    So in some cases arch Makefile has one assignmnet replaced by
    two assignmnets.

    Note2: MODFLAGS was not documented and is dropped
    without any notice. I do not expect much/any breakage
    from this.

    Signed-off-by: Sam Ravnborg
    Cc: Denys Vlasenko
    Cc: Haavard Skinnemoen
    Cc: Mike Frysinger
    Cc: Tony Luck
    Cc: Geert Uytterhoeven
    Cc: Ralf Baechle
    Cc: Benjamin Herrenschmidt
    Cc: Martin Schwidefsky
    Cc: Chen Liqin
    Acked-by: Mike Frysinger [blackfin]
    Acked-by: Haavard Skinnemoen [avr32]
    Signed-off-by: Michal Marek

    Sam Ravnborg
     
  • alldefconfig create a configuration with all values set
    to their default value (form the Kconfig files).

    This may be useful when we try to use more sensible default
    values and may also be used in combination with
    the minimal defconfigs.

    Signed-off-by: Sam Ravnborg
    Signed-off-by: Michal Marek

    Sam Ravnborg
     

01 Jun, 2010

1 commit

  • * 'for-35' of git://repo.or.cz/linux-kbuild: (81 commits)
    kbuild: Revert part of e8d400a to resolve a conflict
    kbuild: Fix checking of scm-identifier variable
    gconfig: add support to show hidden options that have prompts
    menuconfig: add support to show hidden options which have prompts
    gconfig: remove show_debug option
    gconfig: remove dbg_print_ptype() and dbg_print_stype()
    kconfig: fix zconfdump()
    kconfig: some small fixes
    add random binaries to .gitignore
    kbuild: Include gen_initramfs_list.sh and the file list in the .d file
    kconfig: recalc symbol value before showing search results
    .gitignore: ignore *.lzo files
    headerdep: perlcritic warning
    scripts/Makefile.lib: Align the output of LZO
    kbuild: Generate modules.builtin in make modules_install
    Revert "kbuild: specify absolute paths for cscope"
    kbuild: Do not unnecessarily regenerate modules.builtin
    headers_install: use local file handles
    headers_check: fix perl warnings
    export_report: fix perl warnings
    ...

    Linus Torvalds
     

27 May, 2010

1 commit


23 Apr, 2010

1 commit


14 Apr, 2010

1 commit


16 Mar, 2010

1 commit


11 Mar, 2010

1 commit

  • Commit 7d3cc8b tried to keep bounds.h and asm-offsets.h during make
    clean by filtering these out of $(clean-files), but they are listed in
    $(targets) and $(always) and thus removed automatically. Introduce a new
    $(no-clean-files) variable to really skip such files in Makefile.clean.

    Signed-off-by: Michal Marek

    Michal Marek
     

03 Mar, 2010

1 commit


17 Feb, 2010

1 commit


12 Dec, 2009

2 commits