diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2005-09-28 17:27:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-29 11:46:26 -0400 |
commit | ecba97d4aacf4e80c56eb73e39af0369cb8539a4 (patch) | |
tree | 79b845eb73b34e75d9f53fae17e53bd264595960 /arch/um/Makefile-i386 | |
parent | 54bb5675a6e966a58755ac44e3407f8ec2272b82 (diff) |
[PATCH] uml makefiles sanitized
UML makefiles sanitized:
- number of generated headers reduced to 2 (from user-offsets.c and
kernel-offsets.c resp.). The rest is made constant and simply
includes those two.
- mk_... helpers are gone now that we don't need to generate these
headers
- arch/um/include2 removed since everything under arch/um/include/sysdep
is constant now and symlink can point straight to source tree.
- dependencies seriously simplified.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/Makefile-i386')
-rw-r--r-- | arch/um/Makefile-i386 | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/um/Makefile-i386 b/arch/um/Makefile-i386 index 1ab431a53ac3..2ee8a2858117 100644 --- a/arch/um/Makefile-i386 +++ b/arch/um/Makefile-i386 | |||
@@ -32,25 +32,3 @@ CFLAGS += -U__$(SUBARCH)__ -U$(SUBARCH) | |||
32 | ifneq ($(CONFIG_GPROF),y) | 32 | ifneq ($(CONFIG_GPROF),y) |
33 | ARCH_CFLAGS += -DUM_FASTCALL | 33 | ARCH_CFLAGS += -DUM_FASTCALL |
34 | endif | 34 | endif |
35 | |||
36 | SYS_UTIL_DIR := $(ARCH_DIR)/sys-i386/util | ||
37 | SYS_HEADERS := $(SYS_DIR)/sc.h $(SYS_DIR)/thread.h | ||
38 | |||
39 | prepare: $(SYS_HEADERS) | ||
40 | |||
41 | $(SYS_DIR)/sc.h: $(SYS_UTIL_DIR)/mk_sc | ||
42 | $(call filechk,gen_header) | ||
43 | |||
44 | $(SYS_DIR)/thread.h: $(SYS_UTIL_DIR)/mk_thread | ||
45 | $(call filechk,gen_header) | ||
46 | |||
47 | $(SYS_UTIL_DIR)/mk_sc: scripts_basic $(ARCH_DIR)/user-offsets.h FORCE | ||
48 | $(Q)$(MAKE) $(build)=$(SYS_UTIL_DIR) $@ | ||
49 | |||
50 | $(SYS_UTIL_DIR)/mk_thread: scripts_basic $(ARCH_DIR)/kernel-offsets.h FORCE | ||
51 | $(Q)$(MAKE) $(build)=$(SYS_UTIL_DIR) $@ | ||
52 | |||
53 | $(SYS_UTIL_DIR): scripts_basic include/asm FORCE | ||
54 | $(Q)$(MAKE) $(build)=$(SYS_UTIL_DIR) | ||
55 | |||
56 | CLEAN_FILES += $(SYS_HEADERS) | ||