1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

pkg/pkg.mk: allow overwriting GITAMFLAGS from environment var

On IoT-LAB the git version does not support `--no-gpg-sign` so I would like a
way to overwrite GITAMFLAGS from environment variable.
This commit is contained in:
Gaëtan Harter 2018-07-25 18:51:43 +02:00
parent 0fe5ec13ad
commit 8ec1fb2c2f
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -19,7 +19,7 @@ else
git-download: $(PKG_BUILDDIR)/.git-downloaded
endif
GITAMFLAGS = --no-gpg-sign --ignore-whitespace
GITAMFLAGS ?= --no-gpg-sign --ignore-whitespace
ifneq (,$(wildcard $(PKG_DIR)/patches))
$(PKG_BUILDDIR)/.git-patched: $(PKG_BUILDDIR)/.git-downloaded $(PKG_DIR)/Makefile $(PKG_DIR)/patches/*.patch