From d67602258211357b885dcaaa8f7506250ff522ae Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 13 Sep 2004 22:55:54 +0000 Subject: [PATCH] Use symbolic links instead of hard links, because hard links don't work between directories on AFS. --- src/Makefile.kernel | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.kernel b/src/Makefile.kernel index 91146a8..04214fd 100644 --- a/src/Makefile.kernel +++ b/src/Makefile.kernel @@ -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 -- 2.30.2