From b151859aa326cea9b1be68185a8cec8bfb2cffa0 Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Fri, 23 Mar 2012 21:38:10 +0200 Subject: [PATCH] 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 --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.46.0