diff options
Diffstat (limited to 'Documentation/spi/Makefile')
| -rw-r--r-- | Documentation/spi/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/spi/Makefile b/Documentation/spi/Makefile new file mode 100644 index 000000000000..a5b03c88beae --- /dev/null +++ b/Documentation/spi/Makefile | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | # kbuild trick to avoid linker error. Can be omitted if a module is built. | ||
| 2 | obj- := dummy.o | ||
| 3 | |||
| 4 | # List of programs to build | ||
| 5 | hostprogs-y := spidev_test spidev_fdx | ||
| 6 | |||
| 7 | # Tell kbuild to always build the programs | ||
| 8 | always := $(hostprogs-y) | ||
| 9 | |||
| 10 | HOSTCFLAGS_spidev_test.o += -I$(objtree)/usr/include | ||
| 11 | HOSTCFLAGS_spidev_fdx.o += -I$(objtree)/usr/include | ||
