diff options
| -rw-r--r-- | arch/um/Makefile | 13 | ||||
| -rw-r--r-- | arch/um/include/asm/string.h | 7 |
2 files changed, 2 insertions, 18 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile index 11cb7baa0fee..fac25e202120 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile | |||
| @@ -28,7 +28,7 @@ SYMLINK_HEADERS := $(foreach header,$(SYMLINK_HEADERS),$(ARCH_DIR)/include/asm/$ | |||
| 28 | # | 28 | # |
| 29 | # These are cleaned up during mrproper. Please DO NOT fix it again, this is | 29 | # These are cleaned up during mrproper. Please DO NOT fix it again, this is |
| 30 | # the Correct Thing(tm) to do! | 30 | # the Correct Thing(tm) to do! |
| 31 | ARCH_SYMLINKS = $(ARCH_DIR)/include/asm/arch $(ARCH_DIR)/include/shared/sysdep $(ARCH_DIR)/os \ | 31 | ARCH_SYMLINKS = $(ARCH_DIR)/include/shared/sysdep $(ARCH_DIR)/os \ |
| 32 | $(SYMLINK_HEADERS) $(ARCH_DIR)/include/shared/uml-config.h | 32 | $(SYMLINK_HEADERS) $(ARCH_DIR)/include/shared/uml-config.h |
| 33 | 33 | ||
| 34 | MODE_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared/skas | 34 | MODE_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared/skas |
| @@ -38,7 +38,7 @@ include $(srctree)/$(ARCH_DIR)/Makefile-skas | |||
| 38 | ARCH_INCLUDE := -I$(ARCH_DIR)/include/shared | 38 | ARCH_INCLUDE := -I$(ARCH_DIR)/include/shared |
| 39 | ifneq ($(KBUILD_SRC),) | 39 | ifneq ($(KBUILD_SRC),) |
| 40 | ARCH_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared | 40 | ARCH_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared |
| 41 | KBUILD_CPPFLAGS += -I$(ARCH_DIR)/include # for arch symlink | 41 | KBUILD_CPPFLAGS += -I$(ARCH_DIR)/include # for SYMLINK_HEADERS |
| 42 | endif | 42 | endif |
| 43 | SYS_DIR := $(ARCH_DIR)/include/shared/sysdep-$(SUBARCH) | 43 | SYS_DIR := $(ARCH_DIR)/include/shared/sysdep-$(SUBARCH) |
| 44 | 44 | ||
| @@ -154,15 +154,6 @@ else | |||
| 154 | $(Q)ln -sf $(basename $(notdir $@))-$(SUBARCH)$(suffix $@) $@ | 154 | $(Q)ln -sf $(basename $(notdir $@))-$(SUBARCH)$(suffix $@) $@ |
| 155 | endif | 155 | endif |
| 156 | 156 | ||
| 157 | $(ARCH_DIR)/include/asm/arch: | ||
| 158 | @echo ' SYMLINK $@' | ||
| 159 | ifneq ($(KBUILD_SRC),) | ||
| 160 | $(Q)mkdir -p $(objtree)/$(ARCH_DIR)/include/asm | ||
| 161 | $(Q)ln -fsn $(srctree)/arch/$(HEADER_ARCH)/include/asm $@ | ||
| 162 | else | ||
| 163 | $(Q)ln -fsn ../../../$(HEADER_ARCH)/include/asm $@ | ||
| 164 | endif | ||
| 165 | |||
| 166 | $(objtree)/$(ARCH_DIR)/include/shared: | 157 | $(objtree)/$(ARCH_DIR)/include/shared: |
| 167 | @echo ' MKDIR $@' | 158 | @echo ' MKDIR $@' |
| 168 | $(Q)mkdir -p $@ | 159 | $(Q)mkdir -p $@ |
diff --git a/arch/um/include/asm/string.h b/arch/um/include/asm/string.h deleted file mode 100644 index 9a0571f6dd61..000000000000 --- a/arch/um/include/asm/string.h +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #ifndef __UM_STRING_H | ||
| 2 | #define __UM_STRING_H | ||
| 3 | |||
| 4 | #include "asm/arch/string.h" | ||
| 5 | #include "asm/archparam.h" | ||
| 6 | |||
| 7 | #endif | ||
