From: Sam Ravnborg Date: Wed, 30 Jul 2008 20:21:20 +0000 (+0200) Subject: kbuild: fix O=... build of um X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ea35455e0dc17d732436a5b98bd511cab64eb10e;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git kbuild: fix O=... build of um We used include/asm-$ARCH/system.h to check if we should create a symlink in include2 directory with make O=... builds. But um does not have such a file thus build filed. Let's try anohter filename: $ ls -d include/asm-* | wc -l 21 $ ls -d include/asm-*/errno.h | wc -l 21 Signed-off-by: Sam Ravnborg Cc: Jeff Dike --- diff --git a/Makefile b/Makefile index aa527a46c80..f156f40d633 100644 --- 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