]> 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)
commit3fd5a40d1d9865c20dba08490ce5e6710147b1b4
treef54d53dbabd995ae132781dc7c022ef939d3829e
parent29d3e688be4b6838c621c79a8a3b36db69370f09
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