14 Oct, 2014

2 commits

  • Pull kbuild changes from Michal Marek:
    - fix for handling dependencies of *-objs targets by Masahiro Yamada
    - lots of cleanups in the kbuild machinery, also by Masahiro
    - fixes for the kconfig build to use an UTF-8 capable ncurses library
    if possible and to build on not-so-standard installs
    - some more minor fixes

    * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
    kbuild: Do not reference *-n variables in the Makefile
    kbuild: simplify build, clean, modbuiltin shorthands
    kbuild: arm: Do not define "comma" twice
    kbuild: remove obj-n and lib-n handling
    kbuild: remove unnecessary variable initializaions
    kbuild: remove unnecessary "obj- := dummy.o" trick
    kbuild: handle C=... and M=... after entering into build directory
    kbuild: use $(Q) for sub-make target
    kbuild: fake the "Entering directory ..." message more simply
    kconfig/lxdialog: get ncurses CFLAGS with pkg-config
    kconfig: nconfig: fix multi-byte UTF handling
    kconfig: lxdialog: fix spelling
    kbuild: Make scripts executable
    kbuild: remove redundant clean-files from scripts/kconfig/Makefile
    kbuild: refactor script/kconfig/Makefile
    kbuild: handle the dependency of multi-objs hostprogs appropriately
    kbuild: handle multi-objs dependency appropriately

    Linus Torvalds
     
  • - headers_install requires at least two arguments

    - missed closing quote

    Signed-off-by: Javier Barrio
    Cc: Michal Marek
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Javier Barrio
     

20 Aug, 2014

1 commit


18 May, 2013

1 commit

  • If headers_install is executed from a deep/long directory structure, the
    shell's maximum argument length can be execeeded, which breaks the operation
    with:

    | make[2]: execvp: /bin/sh: Argument list too long
    | make[2]: ***

    Instead of passing each files name with the entire path, I give only the file
    name without the source path and give this path as a new argument to
    headers_install.pl.

    Because there is three possible paths, I have tree input-files list, one per
    path.

    Signed-off-by: Nicolas Dichtel
    Tested-by: Bruce Ashfield
    Signed-off-by: Michal Marek

    Nicolas Dichtel
     

09 Apr, 2013

1 commit

  • Remove perl from make headers_install by replacing a perl script (doing a
    simple regex search and replace) with a smaller, faster, simpler,
    POSIX-2008 shell script implementation. The new shell script is a single
    for loop calling sed and piping its output through unifdef to produce the
    target file.

    Same as last time except for minor tweak to deal with code review from
    here: http://lkml.indiana.edu/hypermail/linux/kernel/1302.3/00078.html

    (Note that this drops the "arch" argument, which isn't used. Kbuild
    already points to the right input files on the command line.)

    Signed-off-by: Rob Landley
    Cc: Thomas Gleixner
    Cc: Josh Boyer
    Cc: "Paul E. McKenney"
    Cc: David Howells
    Acked-by: Sam Ravnborg
    Signed-off-by: Andrew Morton
    Signed-off-by: Michal Marek

    Rob Landley