Re: [PATCH v2 2/4] kbuild: do not create wrappers for header-test-y

2019-06-27 Thread Jani Nikula
On Thu, 27 Jun 2019, Masahiro Yamada wrote: > header-test-y does not work with headers in sub-directories. > > For example, you can write a Makefile, like this: > > include/linux/Kbuild: > > header-test-y += mtd/nand.h > > This entry creates a wrapper include/linux/mtd/nand.hdrtest.c with > the

[PATCH v2 2/4] kbuild: do not create wrappers for header-test-y

2019-06-26 Thread Masahiro Yamada
header-test-y does not work with headers in sub-directories. For example, you can write a Makefile, like this: include/linux/Kbuild: header-test-y += mtd/nand.h This entry creates a wrapper include/linux/mtd/nand.hdrtest.c with the following content: #include "mtd/nand.h" To make this wor