From a0fc098595f7a173e2d0d44915ae25759995354c Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 26 Jan 2016 16:33:36 +0100 Subject: [PATCH] make: allow passing of literal flavour, use with care --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e3f5c4df6..0fa3b2346 100644 --- a/Makefile +++ b/Makefile @@ -25,11 +25,14 @@ CORE_VERSION= ${CORE_COMMIT:C/-.*$//1} CORE_HASH= ${CORE_COMMIT:C/^.*-//1} .endif -.if "${FLAVOUR}" == LibreSSL +.if "${FLAVOUR}" == OpenSSL || "${FLAVOUR}" == "" +CORE_REPOSITORY?= latest +.elif "${FLAVOUR}" == LibreSSL CORE_REPOSITORY?= libressl .else -CORE_REPOSITORY?= latest +CORE_REPOSITORY?= ${FLAVOUR} .endif + CORE_PACKAGESITE?= http://pkg.opnsense.org CORE_NAME?= opnsense-devel