From: Vladimir Sokolovsky Date: Fri, 23 Mar 2012 19:38:10 +0000 (+0200) Subject: makefile: Get rid of file not present errors X-Git-Tag: vofed-3.5-x~97 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=b151859aa326cea9b1be68185a8cec8bfb2cffa0;p=~emulex%2Ftmp%2Fcompat-rdma%2F.git makefile: Get rid of file not present errors Redirect kconfig.h/autoconf.h file not present error to /dev/null Signed-off-by: Vladimir Sokolovsky --- diff --git a/makefile b/makefile index 40f16d1..820a7e8 100644 --- a/makefile +++ b/makefile @@ -41,8 +41,8 @@ all: kernel install: install_kernel install_kernel: install_modules -autoconf_h=$(shell /bin/ls -1 $(KSRC)/include/*/autoconf.h | head -1) -kconfig_h=$(shell /bin/ls -1 $(KSRC)/include/*/kconfig.h | head -1) +autoconf_h=$(shell /bin/ls -1 $(KSRC)/include/*/autoconf.h 2> /dev/null | head -1) +kconfig_h=$(shell /bin/ls -1 $(KSRC)/include/*/kconfig.h 2> /dev/null | head -1) ifneq ($(kconfig_h),) KCONFIG_H = -include $(kconfig_h)