From cf8f3125fcaa5c81ce9a31115c6ae31ff6cd64e3 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Thu, 16 May 2019 14:40:56 +0200 Subject: [PATCH] make/pkg: allow to set SOURCE_LOCAL per pkg --- pkg/pkg.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/pkg.mk b/pkg/pkg.mk index 1663edb351..19aeb6f729 100644 --- a/pkg/pkg.mk +++ b/pkg/pkg.mk @@ -3,6 +3,7 @@ # PKG_DIR?=$(CURDIR) PKG_BUILDDIR?=$(PKGDIRBASE)/$(PKG_NAME) +PKG_SOURCE_LOCAL ?= $(PKG_SOURCE_LOCAL_$(shell echo $(PKG_NAME) | tr a-z- A-Z_)) # allow overriding package source with local folder (useful during development) ifneq (,$(PKG_SOURCE_LOCAL))