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

From: Andi Kleen
Date: Fri Jan 02 2009 - 21:20:44 EST



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@xxxxxxxxxxxxxxx>

---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/