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>
This commit is contained in:
parent
17dcf75d3e
commit
f5ad6a42b7
41 changed files with 2 additions and 10 deletions
|
@ -27,7 +27,7 @@ SYMLINK_HEADERS := $(foreach header,$(SYMLINK_HEADERS),$(ARCH_DIR)/include/asm/$
|
||||||
#
|
#
|
||||||
# These are cleaned up during mrproper. Please DO NOT fix it again, this is
|
# These are cleaned up during mrproper. Please DO NOT fix it again, this is
|
||||||
# the Correct Thing(tm) to do!
|
# the Correct Thing(tm) to do!
|
||||||
ARCH_SYMLINKS = $(ARCH_DIR)/include/shared/sysdep $(ARCH_DIR)/os \
|
ARCH_SYMLINKS = $(ARCH_DIR)/os \
|
||||||
$(SYMLINK_HEADERS) $(ARCH_DIR)/include/shared/uml-config.h
|
$(SYMLINK_HEADERS) $(ARCH_DIR)/include/shared/uml-config.h
|
||||||
|
|
||||||
MODE_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared/skas
|
MODE_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared/skas
|
||||||
|
@ -39,7 +39,7 @@ ifneq ($(KBUILD_SRC),)
|
||||||
ARCH_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared
|
ARCH_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared
|
||||||
KBUILD_CPPFLAGS += -I$(ARCH_DIR)/include # for SYMLINK_HEADERS
|
KBUILD_CPPFLAGS += -I$(ARCH_DIR)/include # for SYMLINK_HEADERS
|
||||||
endif
|
endif
|
||||||
SYS_DIR := $(ARCH_DIR)/include/shared/sysdep-$(SUBARCH)
|
ARCH_INCLUDE += -I$(srctree)/$(ARCH_DIR)/sys-$(SUBARCH) # for sysdep
|
||||||
|
|
||||||
# -Dvmap=kernel_vmap prevents anything from referencing the libpcap.o symbol so
|
# -Dvmap=kernel_vmap prevents anything from referencing the libpcap.o symbol so
|
||||||
# named - it's a common symbol in libpcap, so we get a binary which crashes.
|
# named - it's a common symbol in libpcap, so we get a binary which crashes.
|
||||||
|
@ -157,14 +157,6 @@ $(objtree)/$(ARCH_DIR)/include/shared:
|
||||||
@echo ' MKDIR $@'
|
@echo ' MKDIR $@'
|
||||||
$(Q)mkdir -p $@
|
$(Q)mkdir -p $@
|
||||||
|
|
||||||
$(ARCH_DIR)/include/shared/sysdep: $(objtree)/$(ARCH_DIR)/include/shared
|
|
||||||
@echo ' SYMLINK $@'
|
|
||||||
ifneq ($(KBUILD_SRC),)
|
|
||||||
$(Q)ln -fsn $(srctree)/$(ARCH_DIR)/include/shared/sysdep-$(SUBARCH) $@
|
|
||||||
else
|
|
||||||
$(Q)ln -fsn sysdep-$(SUBARCH) $@
|
|
||||||
endif
|
|
||||||
|
|
||||||
$(ARCH_DIR)/os:
|
$(ARCH_DIR)/os:
|
||||||
@echo ' SYMLINK $@'
|
@echo ' SYMLINK $@'
|
||||||
ifneq ($(KBUILD_SRC),)
|
ifneq ($(KBUILD_SRC),)
|
||||||
|
|
Loading…
Reference in a new issue