[PATCH] [3/3] KBUILD: Add a "bin" symlink for the scripts directory too

Andi Kleen
2009-01-03T02:20:15Z

Several of the scripts in "scripts" are useful to operate on
files in a separate objdir. Instead of always manually typing
the path to the source dir create a convenient symlink to
the source dir's script directory in the objdir too.

I named it bin because scripts was already used for the object
files of scripts.

Signed-off-by: Andi Kleen <ak@linux.intel.com>

---
Makefile | 1 +
1 file changed, 1 insertion(+)

Index: linux-2.6.28-kbuild/Makefile
===================================================================
--- linux-2.6.28-kbuild.orig/Makefile 2009-01-01 15:52:52.000000000 +0100
+++ linux-2.6.28-kbuild/Makefile 2009-01-01 15:53:09.000000000 +0100
@@ -937,6 +937,7 @@
ln -fsn $(srctree)/include/asm-$(SRCARCH) include2/asm; \
fi
ln -fsn $(srctree) source
+ ln -fsn $(srctree)/scripts bin
endif

# prepare2 creates a makefile if using a separate output directory