diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-08-18 21:44:32 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-10-23 01:55:21 -0400 |
commit | f5ad6a42b700d9687bb97cf461e7f2506e3006d6 (patch) | |
tree | 1bd92ee745ce1bdf459147dd9cbdb440c72cd9f8 /arch/um/Makefile | |
parent | 17dcf75d3ea11d7e26110ba85677cfadbccecf45 (diff) |
x86, um: get rid of sysdep symlink
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/um/Makefile')
-rw-r--r-- | arch/um/Makefile | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile index 3af8c81bf4f0..2e042b0e3b8a 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile | |||
@@ -27,7 +27,7 @@ SYMLINK_HEADERS := $(foreach header,$(SYMLINK_HEADERS),$(ARCH_DIR)/include/asm/$ | |||
27 | # | 27 | # |
28 | # These are cleaned up during mrproper. Please DO NOT fix it again, this is | 28 | # These are cleaned up during mrproper. Please DO NOT fix it again, this is |
29 | # the Correct Thing(tm) to do! | 29 | # the Correct Thing(tm) to do! |
30 | ARCH_SYMLINKS = $(ARCH_DIR)/include/shared/sysdep $(ARCH_DIR)/os \ | 30 | ARCH_SYMLINKS = $(ARCH_DIR)/os \ |
31 | $(SYMLINK_HEADERS) $(ARCH_DIR)/include/shared/uml-config.h | 31 | $(SYMLINK_HEADERS) $(ARCH_DIR)/include/shared/uml-config.h |
32 | 32 | ||
33 | MODE_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared/skas | 33 | MODE_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared/skas |
@@ -39,7 +39,7 @@ ifneq ($(KBUILD_SRC),) | |||
39 | ARCH_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared | 39 | ARCH_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared |
40 | KBUILD_CPPFLAGS += -I$(ARCH_DIR)/include # for SYMLINK_HEADERS | 40 | KBUILD_CPPFLAGS += -I$(ARCH_DIR)/include # for SYMLINK_HEADERS |
41 | endif | 41 | endif |
42 | SYS_DIR := $(ARCH_DIR)/include/shared/sysdep-$(SUBARCH) | 42 | ARCH_INCLUDE += -I$(srctree)/$(ARCH_DIR)/sys-$(SUBARCH) # for sysdep |
43 | 43 | ||
44 | # -Dvmap=kernel_vmap prevents anything from referencing the libpcap.o symbol so | 44 | # -Dvmap=kernel_vmap prevents anything from referencing the libpcap.o symbol so |
45 | # named - it's a common symbol in libpcap, so we get a binary which crashes. | 45 | # named - it's a common symbol in libpcap, so we get a binary which crashes. |
@@ -157,14 +157,6 @@ $(objtree)/$(ARCH_DIR)/include/shared: | |||
157 | @echo ' MKDIR $@' | 157 | @echo ' MKDIR $@' |
158 | $(Q)mkdir -p $@ | 158 | $(Q)mkdir -p $@ |
159 | 159 | ||
160 | $(ARCH_DIR)/include/shared/sysdep: $(objtree)/$(ARCH_DIR)/include/shared | ||
161 | @echo ' SYMLINK $@' | ||
162 | ifneq ($(KBUILD_SRC),) | ||
163 | $(Q)ln -fsn $(srctree)/$(ARCH_DIR)/include/shared/sysdep-$(SUBARCH) $@ | ||
164 | else | ||
165 | $(Q)ln -fsn sysdep-$(SUBARCH) $@ | ||
166 | endif | ||
167 | |||
168 | $(ARCH_DIR)/os: | 160 | $(ARCH_DIR)/os: |
169 | @echo ' SYMLINK $@' | 161 | @echo ' SYMLINK $@' |
170 | ifneq ($(KBUILD_SRC),) | 162 | ifneq ($(KBUILD_SRC),) |