From c14a243b46dc308bdb5266d0a93e148af0cd3fa6 Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Sat, 8 Jun 2013 21:03:22 +0200 Subject: [PATCH] Silence grep error during build. Ever since upgrading to Debian 7.0, building linuxptp results in an annoying error message. This is due to the fact that the directory /usr/include/bits is no longer present, but our makefile expects it to exist. This patch fixes the issue by telling grep not to complain about missing files. Signed-off-by: Richard Cochran --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 058bdb2..71dcf0c 100644 --- a/makefile +++ b/makefile @@ -18,7 +18,7 @@ KBUILD_OUTPUT ?= /lib/modules/$(shell uname -r)/build FEAT_CFLAGS := -ifneq ($(shell grep clock_adjtime /usr/include/bits/time.h),) +ifneq ($(shell grep --no-messages clock_adjtime /usr/include/bits/time.h),) FEAT_CFLAGS += -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME endif