diff options
author | Olaf Hering <olh@suse.de> | 2005-07-27 14:43:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:25:48 -0400 |
commit | b6b038a24a826fe22d9823722cfbbbd3ad7a3021 (patch) | |
tree | 705266cdb7a0cf8397005b735906fdb6d12a35a1 /arch/um | |
parent | 8648373af214d3c74b81e78049a64dad986c1024 (diff) |
[PATCH] uml: add dependency to arch/um/Makefile for parallel builds
the header file must be build before mk_user_constants. Adding it as a
direct dep doesnt work for some reason.
arch/um/os-Linux/util/mk_user_constants.c:2:26: error: user-offsets.h: No such file or directory
arch/um/os-Linux/util/mk_user_constants.c: In function 'main':
arch/um/os-Linux/util/mk_user_constants.c:17: error: '__UM_FRAME_SIZE' undeclared (first use in this function)
arch/um/os-Linux/util/mk_user_constants.c:17: error: (Each undeclared identifier is reported only once
arch/um/os-Linux/util/mk_user_constants.c:17: error: for each function it appears in.)
make[1]: *** [arch/um/os-Linux/util/mk_user_constants] Error 1
Signed-off-by: Olaf Hering <olh@suse.de>
Cc: Paolo Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile index eb4ac403bd93..f5a83a72aa75 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile | |||
@@ -245,7 +245,7 @@ $(ARCH_DIR)/util: scripts_basic $(SYS_DIR)/sc.h $(ARCH_DIR)/kernel-offsets.h FOR | |||
245 | $(ARCH_DIR)/kernel/skas/util: scripts_basic $(ARCH_DIR)/user-offsets.h FORCE | 245 | $(ARCH_DIR)/kernel/skas/util: scripts_basic $(ARCH_DIR)/user-offsets.h FORCE |
246 | $(Q)$(MAKE) $(build)=$@ | 246 | $(Q)$(MAKE) $(build)=$@ |
247 | 247 | ||
248 | $(ARCH_DIR)/os-$(OS)/util: scripts_basic FORCE | 248 | $(ARCH_DIR)/os-$(OS)/util: scripts_basic $(ARCH_DIR)/user-offsets.h FORCE |
249 | $(Q)$(MAKE) $(build)=$@ | 249 | $(Q)$(MAKE) $(build)=$@ |
250 | 250 | ||
251 | export SUBARCH USER_CFLAGS OS | 251 | export SUBARCH USER_CFLAGS OS |