aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/Makefile')
-rw-r--r--arch/um/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile
index 6430a6383853..4ab6270cd387 100644
--- a/arch/um/Makefile
+++ b/arch/um/Makefile
@@ -168,10 +168,13 @@ else
168 $(Q)cd $(TOPDIR)/include/asm-um && ln -sf ../asm-$(SUBARCH) arch 168 $(Q)cd $(TOPDIR)/include/asm-um && ln -sf ../asm-$(SUBARCH) arch
169endif 169endif
170 170
171$(ARCH_DIR)/include/sysdep: 171$(objtree)/$(ARCH_DIR)/include:
172 @echo ' MKDIR $@'
173 $(Q)mkdir -p $@
174
175$(ARCH_DIR)/include/sysdep: $(objtree)/$(ARCH_DIR)/include
172 @echo ' SYMLINK $@' 176 @echo ' SYMLINK $@'
173ifneq ($(KBUILD_SRC),) 177ifneq ($(KBUILD_SRC),)
174 $(Q)mkdir -p $(ARCH_DIR)/include
175 $(Q)ln -fsn $(srctree)/$(ARCH_DIR)/include/sysdep-$(SUBARCH) $(ARCH_DIR)/include/sysdep 178 $(Q)ln -fsn $(srctree)/$(ARCH_DIR)/include/sysdep-$(SUBARCH) $(ARCH_DIR)/include/sysdep
176else 179else
177 $(Q)cd $(ARCH_DIR)/include && ln -sf sysdep-$(SUBARCH) sysdep 180 $(Q)cd $(ARCH_DIR)/include && ln -sf sysdep-$(SUBARCH) sysdep
@@ -214,7 +217,7 @@ $(ARCH_DIR)/include/user_constants.h: $(ARCH_DIR)/user-offsets.s
214 217
215CLEAN_FILES += $(ARCH_DIR)/user-offsets.s 218CLEAN_FILES += $(ARCH_DIR)/user-offsets.s
216 219
217$(ARCH_DIR)/include/kern_constants.h: 220$(ARCH_DIR)/include/kern_constants.h: $(objtree)/$(ARCH_DIR)/include
218 @echo ' SYMLINK $@' 221 @echo ' SYMLINK $@'
219 $(Q) ln -sf ../../../include/asm-um/asm-offsets.h $@ 222 $(Q) ln -sf ../../../include/asm-um/asm-offsets.h $@
220 223