diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-07-30 16:21:20 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-07-30 16:21:20 -0400 |
commit | ea35455e0dc17d732436a5b98bd511cab64eb10e (patch) | |
tree | 30dc92f79e5a0bdc7ba5370f7b9df0d06a72da58 /Makefile | |
parent | 660fc1f4d88b0f5e4bb936e4a5a9b95b70df9e58 (diff) |
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 <sam@ravnborg.org>
Cc: Jeff Dike <jdike@addtoit.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -930,7 +930,7 @@ ifneq ($(KBUILD_SRC),) | |||
930 | /bin/false; \ | 930 | /bin/false; \ |
931 | fi; | 931 | fi; |
932 | $(Q)if [ ! -d include2 ]; then mkdir -p include2; fi; | 932 | $(Q)if [ ! -d include2 ]; then mkdir -p include2; fi; |
933 | $(Q)if [ -e $(srctree)/include/asm-$(SRCARCH)/system.h ]; then \ | 933 | $(Q)if [ -e $(srctree)/include/asm-$(SRCARCH)/errno.h ]; then \ |
934 | ln -fsn $(srctree)/include/asm-$(SRCARCH) include2/asm; \ | 934 | ln -fsn $(srctree)/include/asm-$(SRCARCH) include2/asm; \ |
935 | fi | 935 | fi |
936 | endif | 936 | endif |