Skip to content

Commit 8fc07eb

Browse files
author
Shuah Khan
committed
samples: move auxdisplay example code from Documentation
Move auxdisplay examples to samples and remove it from Documentation Makefile. Create a new Makefile to build auxdisplay. It can be built from top level directory or from auxdisplay directory: Run make -C samples/auxdisplay or cd samples/auxdisplay; make Acked-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
1 parent 071bf69 commit 8fc07eb

6 files changed

Lines changed: 11 additions & 9 deletions

File tree

‎Documentation/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
subdir-y := accounting auxdisplay blackfin \
1+
subdir-y := accounting blackfin \
22
laptops pcmcia

‎Documentation/auxdisplay/Makefile‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎Documentation/auxdisplay/cfag12864b‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,5 @@ Although the LCD won't get updated until the next refresh time arrives.
101101
Also, you can mmap the framebuffer: open & mmap, munmap & close...
102102
which is the best option for most uses.
103103

104-
Check Documentation/auxdisplay/cfag12864b-example.c
104+
Check samples/auxdisplay/cfag12864b-example.c
105105
for a real working userspace complete program with usage examples.

‎samples/auxdisplay/Makefile‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CC := $(CROSS_COMPILE)gcc
2+
CFLAGS := -I../../usr/include
3+
4+
PROGS := cfag12864b-example
5+
6+
all: $(PROGS)
7+
8+
clean:
9+
rm -fr $(PROGS)
File renamed without changes.

0 commit comments

Comments
 (0)