1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #11533 from haukepetersen/opt_pkg_sourcelocaloverride

make/pkg: allow to set SOURCE_LOCAL per pkg
This commit is contained in:
benpicco 2019-09-23 12:19:12 +02:00 committed by GitHub
commit 794ac26d47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))