* [PATCH 2/22] UML - Use variables rather than symlinks in dependencies
@ 2005-05-01 21:12 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2005-05-01 21:12 UTC (permalink / raw)
To: torvalds; +Cc: akpm, linux-kernel, viro
>From Al Viro:
Use explicit os-... in make dependencies instead of playing with
symlinks (symlink in question is still created - it's needed for other
things; however, there's no reason to complicate ordering here).
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
diff -urN RC12-rc3-uml-ldscript/arch/um/Makefile RC12-rc3-uml-os/arch/um/Makefile
--- RC12-rc3-uml-ldscript/arch/um/Makefile Wed Apr 27 17:07:20 2005
+++ RC12-rc3-uml-os/arch/um/Makefile Wed Apr 27 17:07:21 2005
@@ -169,7 +169,7 @@
$(ARCH_DIR)/include/task.h: $(ARCH_DIR)/util/mk_task
$(call filechk,gen_header)
-$(ARCH_DIR)/include/user_constants.h: $(ARCH_DIR)/os/util/mk_user_constants
+$(ARCH_DIR)/include/user_constants.h: $(ARCH_DIR)/os-$(OS)/util/mk_user_constants
$(call filechk,gen_header)
$(ARCH_DIR)/include/kern_constants.h: $(ARCH_DIR)/util/mk_constants
@@ -178,7 +178,7 @@
$(ARCH_DIR)/include/skas_ptregs.h: $(ARCH_DIR)/kernel/skas/util/mk_ptregs
$(call filechk,gen_header)
-$(ARCH_DIR)/os/util/mk_user_constants: $(ARCH_DIR)/os/util FORCE ;
+$(ARCH_DIR)/os-$(OS)/util/mk_user_constants: $(ARCH_DIR)/os-$(OS)/util FORCE ;
$(ARCH_DIR)/util/mk_task $(ARCH_DIR)/util/mk_constants: $(ARCH_DIR)/include/user_constants.h $(ARCH_DIR)/util \
FORCE ;
@@ -191,7 +191,7 @@
$(ARCH_DIR)/kernel/skas/util: scripts_basic FORCE
$(Q)$(MAKE) $(build)=$@
-$(ARCH_DIR)/os/util: scripts_basic FORCE
+$(ARCH_DIR)/os-$(OS)/util: scripts_basic FORCE
$(Q)$(MAKE) $(build)=$@
export SUBARCH USER_CFLAGS OS
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-05-01 21:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-01 21:12 [PATCH 2/22] UML - Use variables rather than symlinks in dependencies Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®