if [ -s "$(OBJECT)_diff" ]; then \
LFS_SCRIPT="$(firstword $(MAKEFILE_LIST))"; \
if [ "x$(PASS)" != "x" ]; then LFS_SCRIPT="$$LFS_SCRIPT.p$(PASS)"; fi; \
- ROOTFILE=$$(find $(DIR_SOURCE)/rootfiles/{core,extras,debug}/{$(TARGET),} -maxdepth 1 -type f -name $$LFS_SCRIPT | head -1); \
+ ROOTFILE=$$(find $(DIR_SOURCE)/rootfiles/{core,extras,debug}/{$(TARGET),} -maxdepth 1 -type f -name $$LFS_SCRIPT 2>/dev/null | head -1); \
if [ "$$ROOTFILE" = "" ]; then \
touch $(OBJECT)_missing_rootfile; \
ROOTFILE=$(OBJECT)_missing_rootfile ; \