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 <richardcochran@gmail.com>
master
Richard Cochran 2013-06-08 21:03:22 +02:00
parent 0513c3b15b
commit c14a243b46
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
KBUILD_OUTPUT ?= /lib/modules/$(shell uname -r)/build KBUILD_OUTPUT ?= /lib/modules/$(shell uname -r)/build
FEAT_CFLAGS := 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 FEAT_CFLAGS += -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME
endif endif