]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: make samples really depend on headers_install
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 8 Aug 2018 02:14:14 +0000 (11:14 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 9 Aug 2018 12:50:18 +0000 (21:50 +0900)
commitd85e469fb819a4bd8fb5a2c1f7bb0fe5a29dc16f
treee43ee2118739d7d4ce63dbfb60b665c90e917731
parent61dfddcdd23b2f2365e168116ee7633d8f6ffac0
kbuild: make samples really depend on headers_install

Kernel headers must be installed into $(objtree)/usr/include to avoid
the build failure of samples.

Commit c18014cc1056 ("kbuild: make samples depend on headers_install")
addressed this, but "samples/" is only used for the single target build.

"make samples/" properly installs kernel headers, but it does not work
for general building because a phony target "sample" (no trailing slash)
is used.

Reported-by: David Howells <dhowells@redhat.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: David Howells <dhowells@redhat.com>
Makefile