[PATCH] Support custom build options in config.mak
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Oct 11, 2005, 07:49 UTC
- Message-ID
- <Pine.LNX.4.63.0510110948170.19774@wbgn013.biozentrum.uni-wuerzburg.de>
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.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
---
Makefile | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
applies-to: 1abfad3540e705eb33e589a8e8cf2be781c89030 94ca33678ce4f582d9bcbaa7baf9223e026c0b13
diff --git a/Makefile b/Makefile index ea4332b..4e2fa7e 100644 --- a/Makefile +++ b/Makefile @@ -213,6 +213,10 @@ ifneq (,$(findstring arm,$(uname_M))) ARM_SHA1 = YesPlease endif +ifneq (,$(wildcard config.mak)) +include config.mak +endif + ifndef NO_CURL ifdef CURLDIR # This is still problematic -- gcc does not want -R. --- 0.99.8.GIT