Skip to content
Snippets Groups Projects
Commit 3152ce6a authored by David Bauer's avatar David Bauer
Browse files

build: inform users of deprecation


Print a warning in case users attempt to build Gluon using a site.mk
which containes deprecated GLUON_FEATURES or GLUON_SITE_PACKAGES.

Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
parent 64234f75
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,14 @@ ifneq ($(GLUON_BRANCH),) ...@@ -35,6 +35,14 @@ ifneq ($(GLUON_BRANCH),)
GLUON_AUTOUPDATER_ENABLED ?= 1 GLUON_AUTOUPDATER_ENABLED ?= 1
endif endif
ifneq ($(GLUON_FEATURES)$(GLUON_FEATURES_standard)$(GLUON_FEATURES_tiny),)
$(error *** Warning: GLUON_FEATURES has been obsolete, please use the image-customization file instead.)
endif
ifneq ($(GLUON_SITE_PACKAGES)$(GLUON_SITE_PACKAGES_standard)$(GLUON_SITE_PACKAGES_tiny),)
$(error *** Warning: GLUON_SITE_PACKAGES has been obsolete, please use the image-customization file instead.)
endif
GLUON_AUTOUPDATER_ENABLED ?= 0 GLUON_AUTOUPDATER_ENABLED ?= 0
# initialize (possibly already user set) directory variables # initialize (possibly already user set) directory variables
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment