From 50b72ed6d566c8afbd3afb5c565eca002a737e7a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 9 Jun 2016 13:01:18 +0100 Subject: [PATCH 1/1] wiringpi: Enable in top-level Makefile Ad-hoc check for the library header file, to avoid FTBFS on non-Raspbian hosts. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index e815676..b457d71 100644 --- 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: -- 2.30.2