@matheusbsbs / matheus-bagliano / commits / f2d6a25627
Fork 0

Support custom build options in config.mak

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>

Johannes Schindelin committed Oct 11, 2005 at 15:22 UTC f2d6a256272b71f4509e4501a86a0f6c46ee65ad
1 file changed +2
Makefile
+2
@@ -210,6 +210,8 @@ ifneq (,$(findstring arm,$(uname_M)))
210 ARM_SHA1 = YesPlease
211 endif
212
213 +-include config.mak
214 +
215 ifndef NO_CURL
216 ifdef CURLDIR
217 # This is still problematic -- gcc does not want -R.