kbuild: fix O=... build of um
[h-e-n] / Makefile
index aa527a4..f156f40 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -930,7 +930,7 @@ ifneq ($(KBUILD_SRC),)
                /bin/false; \
        fi;
        $(Q)if [ ! -d include2 ]; then mkdir -p include2; fi;
-       $(Q)if [ -e $(srctree)/include/asm-$(SRCARCH)/system.h ]; then  \
+       $(Q)if [ -e $(srctree)/include/asm-$(SRCARCH)/errno.h ]; then  \
            ln -fsn $(srctree)/include/asm-$(SRCARCH) include2/asm;     \
            fi
 endif