summaryrefslogtreecommitdiff
path: root/Documentation/auxdisplay/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/auxdisplay/Makefile')
-rw-r--r--Documentation/auxdisplay/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/auxdisplay/Makefile b/Documentation/auxdisplay/Makefile
new file mode 100644
index 000000000000..51fe23332c81
--- /dev/null
+++ b/Documentation/auxdisplay/Makefile
@@ -0,0 +1,10 @@
+# kbuild trick to avoid linker error. Can be omitted if a module is built.
+obj- := dummy.o
+
+# List of programs to build
+hostprogs-y := cfag12864b-example
+
+# Tell kbuild to always build the programs
+always := $(hostprogs-y)
+
+HOSTCFLAGS_cfag12864b-example.o += -I$(objtree)/usr/include