OSDN Git Service

Support custom build options in config.mak
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 11 Oct 2005 22:22:47 +0000 (15:22 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 11 Oct 2005 22:22:47 +0000 (15:22 -0700)
With this patch, it is possible to store configuration options like
NO_CURL=YesPlease or NO_OPENSSL=YesPlease into a file named
config.mak, which will be included in the Makefile.

[jc: redone with suggestion from Daniel Barkalow to just use -include]

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile

index c31af7b..8697d52 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -210,6 +210,8 @@ ifneq (,$(findstring arm,$(uname_M)))
        ARM_SHA1 = YesPlease
 endif
 
+-include config.mak
+
 ifndef NO_CURL
        ifdef CURLDIR
                # This is still problematic -- gcc does not want -R.