Use symbolic links instead of hard links, because hard links don't
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 13 Sep 2004 22:55:54 +0000 (22:55 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 13 Sep 2004 22:55:54 +0000 (22:55 +0000)
work between directories on AFS.

src/Makefile.kernel

index 91146a844925c29edf1fa48bac2403986cbcb4c8..04214fd953299db397af8f80caf0849b86eb0363 100644 (file)
@@ -1,6 +1,6 @@
 include Makefile.vars
 BUILD_SUBDIRS = $(addprefix build/, $(SUBDIRS))
-LN = ln
+LN_S = ln -s
 MKDIR = mkdir
 
 all: build build/Makefile $(BUILD_SUBDIRS)
@@ -11,7 +11,7 @@ $(BUILD_SUBDIRS):
 build:
        $(MKDIR) $@
 build/Makefile: ../Makefile.build
-       $(LN) -f $< $@
+       $(LN_S) -Xf ../../Makefile.build $@
 
 clean:
        rm -rf build