OpenCloudOS-Kernel/Documentation/spi
Randy Dunlap 3794f3e812 docsrc: build Documentation/ sources
Currently source files in the Documentation/ sub-dir can easily bit-rot
since they are not generally buildable, either because they are hidden in
text files or because there are no Makefile rules for them.  This needs to
be fixed so that the source files remain usable and good examples of code
instead of bad examples.

Add the ability to build source files that are in the Documentation/ dir.
Add to Kconfig as "BUILD_DOCSRC" config symbol.

Use "CONFIG_BUILD_DOCSRC=1 make ..." to build objects from the
Documentation/ sources.  Or enable BUILD_DOCSRC in the *config system.
However, this symbol depends on HEADERS_CHECK since the header files need
to be installed (for userspace builds).

Built (using cross-tools) for x86-64, i386, alpha, ia64, sparc32,
sparc64, powerpc, sh, m68k, & mips.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-08-12 16:07:30 -07:00
..
Makefile docsrc: build Documentation/ sources 2008-08-12 16:07:30 -07:00
butterfly [PATCH] SPI: spi_butterfly, restore lost deltas 2006-02-06 12:17:17 -08:00
pxa2xx [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
spi-lm70llp spi_lm70llp parport adapter driver 2007-07-17 10:23:04 -07:00
spi-summary [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
spidev documentation: move spidev_fdx example to its own source file 2008-04-28 08:58:31 -07:00
spidev_fdx.c documentation: move spidev_fdx example to its own source file 2008-04-28 08:58:31 -07:00
spidev_test.c Documentation/spi/spidev_test.c: constify some variables 2007-10-16 09:43:10 -07:00