]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: make multiple directory targets work
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 5 Feb 2020 06:51:52 +0000 (15:51 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 5 Feb 2020 21:31:51 +0000 (06:31 +0900)
commitd84d1a5cdadcf4bdc543f66de077fb34236e9e31
treef54d53dbabd995ae132781dc7c022ef939d3829e
parent46244810acf0ee423fb00da67ae73f3dffb7da2d
kbuild: make multiple directory targets work

Currently, the single-target build does not work when two
or more sub-directories are given:

  $ make fs/ kernel/ lib/
    CALL    scripts/checksyscalls.sh
    CALL    scripts/atomic/check-atomics.sh
    DESCEND  objtool
  make[2]: Nothing to be done for 'kernel/'.
  make[2]: Nothing to be done for 'fs/'.
  make[2]: Nothing to be done for 'lib/'.

Make it work properly.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile