kbuild: support simultaneous "make %config" and "make all"
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 9 Apr 2014 06:51:35 +0000 (15:51 +0900)
committerMichal Marek <mmarek@suse.cz>
Wed, 30 Apr 2014 14:45:16 +0000 (16:45 +0200)
commit9319f4539c18ada539d37a1b4398c636b877c027
treebe640d1c74d95d963e71007713e8b930f78e665d
parenta86fe3537350613c0181ce936884036a9695ceea
kbuild: support simultaneous "make %config" and "make all"

Kbuild is supposed to support mixed targets. (%config and build targets)

But "make all" did nothing if it was run with configuration targets.
For example,

  $ LANG=C make defconfig all
    HOSTCC  scripts/basic/fixdep
    HOSTCC  scripts/kconfig/conf.o
    SHIPPED scripts/kconfig/zconf.tab.c
    SHIPPED scripts/kconfig/zconf.lex.c
    SHIPPED scripts/kconfig/zconf.hash.c
    HOSTCC  scripts/kconfig/zconf.tab.o
    HOSTLD  scripts/kconfig/conf
  *** Default configuration is based on 'x86_64_defconfig'
  #
  # configuration written to .config
  #
  make: Nothing to be done for `all'.

This commits allows "make %config all" and makes sure
mixed targets are built one by one in the given order.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Michal Marek <mmarek@suse.cz>
CC: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Makefile
scripts/mkmakefile
This page took 0.031914 seconds and 5 git commands to generate.