diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -259,8 +259,9 @@ $(error Cannot build without access to the LITMUS^RT kernel source) | |||
259 | endif | 259 | endif |
260 | 260 | ||
261 | kernel-unistd-hdrs := $(foreach file,${unistd-headers},${LITMUS_KERNEL}/$(file)) | 261 | kernel-unistd-hdrs := $(foreach file,${unistd-headers},${LITMUS_KERNEL}/$(file)) |
262 | hdr-ok := $(shell grep '\#include "litmus/unistd' ${kernel-unistd-hdrs} ) | 262 | hdr-ok := $(shell egrep '\#include ["<]litmus/unistd' ${kernel-unistd-hdrs} ) |
263 | ifeq ($(strip $(hdr-ok)),) | 263 | ifeq ($(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) |
265 | endif | 266 | endif |
266 | 267 | ||