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
parent
0513c3b15b
commit
c14a243b46
2
makefile
2
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue