kbuild: use mixed-targets when two or more config targets are given
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 11 Dec 2014 10:12:34 +0000 (19:12 +0900)
committerMichal Marek <mmarek@suse.cz>
Thu, 8 Jan 2015 14:05:28 +0000 (15:05 +0100)
commitd0d38cd9e853db11e0242b3df4c9c3c4a663fbb4
treee59c6adeb9b4ecebc55ac7c2f3f234d8bb0140bf
parent343d3e6cc861297fc837e5b5274084751307f790
kbuild: use mixed-targets when two or more config targets are given

"make kvmconfig" expects that the .config has already been created,
but some people might want to create the .config and run kvmconfig
in one shot command, like this:

  $ make defconfig kvmconfig

To make sure this command works correctly even if -j* option is set,
we must handle them one by one.
This commit turns on mixed-targets when $(MAKECMDGOALS) includes
at least one config target and also includes another target.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Makefile
This page took 0.025644 seconds and 5 git commands to generate.