aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 788db74..db94ffb 100644
--- a/Makefile
+++ b/Makefile
@@ -259,8 +259,9 @@ $(error Cannot build without access to the LITMUS^RT kernel source)
259endif 259endif
260 260
261kernel-unistd-hdrs := $(foreach file,${unistd-headers},${LITMUS_KERNEL}/$(file)) 261kernel-unistd-hdrs := $(foreach file,${unistd-headers},${LITMUS_KERNEL}/$(file))
262hdr-ok := $(shell grep '\#include "litmus/unistd' ${kernel-unistd-hdrs} ) 262hdr-ok := $(shell egrep '\#include ["<]litmus/unistd' ${kernel-unistd-hdrs} )
263ifeq ($(strip $(hdr-ok)),) 263ifeq ($(strip $(hdr-ok)),)
264$(info (!!) Could not find LITMUS^RT system calls in ${kernel-unistd-hdrs}.)
264$(error Your kernel headers do not seem to be LITMUS^RT headers) 265$(error Your kernel headers do not seem to be LITMUS^RT headers)
265endif 266endif
266 267