summaryrefslogtreecommitdiffstats
path: root/samples/kfifo/Makefile
diff options
context:
space:
mode:
authorStefani Seibold <stefani@seibold.net>2010-08-10 18:03:39 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-11 08:59:23 -0700
commit5bf2b19320ec31d094d7370fdf536f7fd91fd799 (patch)
tree47052fd9bdb0969d4a4a7d430695388094409964 /samples/kfifo/Makefile
parent2e956fb320568cc70861761483e2f0e2db75fd66 (diff)
downloadop-kernel-dev-5bf2b19320ec31d094d7370fdf536f7fd91fd799.zip
op-kernel-dev-5bf2b19320ec31d094d7370fdf536f7fd91fd799.tar.gz
kfifo: add example files to the kernel sample directory
Add four examples to the kernel sample directory. It shows how to handle: - a byte stream fifo - a integer type fifo - a dynamic record sized fifo - the fifo DMA functions [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Stefani Seibold <stefani@seibold.net> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples/kfifo/Makefile')
-rw-r--r--samples/kfifo/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/kfifo/Makefile b/samples/kfifo/Makefile
new file mode 100644
index 0000000..bcc9484
--- /dev/null
+++ b/samples/kfifo/Makefile
@@ -0,0 +1 @@
+obj-$(CONFIG_SAMPLE_KFIFO) += bytestream-example.o dma-example.o inttype-example.o record-example.o
OpenPOWER on IntegriCloud