chiark
/
gitweb
/
~ian
/
chiark-tcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
417eb42
)
wiringpi: Enable in top-level Makefile
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 9 Jun 2016 12:01:18 +0000
(13:01 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 9 Jun 2016 12:01:20 +0000
(13:01 +0100)
Ad-hoc check for the library header file, to avoid FTBFS on
non-Raspbian hosts.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index e81567631cca5dec8ef0c05f959714df675832cd..b457d711b0b519333abb0534469c51f12fbd7524 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,6
+1,10
@@
SUBDIRS= base adns hbytes cdb crypto dgram tuntap
+ifneq ($(wildcard /usr/include/wiringPi.h /usr/include/arm-*/wiringPi.h),)
+SUBDIRS+= wiringpi
+endif
+
default: all
clean all: