summaryrefslogtreecommitdiffstats
path: root/share/examples/ppi
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2000-04-27 21:08:24 +0000
committern_hibma <n_hibma@FreeBSD.org>2000-04-27 21:08:24 +0000
commitd9333a380781cb044a32d23c3b2cf33ebdab4e15 (patch)
tree072e301ad04ce3d592c52af01558880db880ac7d /share/examples/ppi
parent6bf9295658f4d592060af2154a8ac0a4c3cfff42 (diff)
downloadFreeBSD-src-d9333a380781cb044a32d23c3b2cf33ebdab4e15.zip
FreeBSD-src-d9333a380781cb044a32d23c3b2cf33ebdab4e15.tar.gz
make the example compile again.
The makefile contains a reference to /sys/dev/ppbus. What really should be done is copy the header files to /usr/include/sys/dev/ppbus. PR: kern/16767 Submitted by: Jin Guojun (FTG staff) <jin@gracie.lbl.gov>
Diffstat (limited to 'share/examples/ppi')
-rw-r--r--share/examples/ppi/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/examples/ppi/Makefile b/share/examples/ppi/Makefile
index 1836d8a..60ba1fa 100644
--- a/share/examples/ppi/Makefile
+++ b/share/examples/ppi/Makefile
@@ -5,4 +5,8 @@
PROG= ppilcd
NOMAN= YES
+# XXX This should not be done in fact. The header files should
+# be copied to /usr/include/sys/dev/ppbus during make world
+CFLAGS += -I/sys/dev/ppbus
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud