Skip to content

Commit

Permalink
build: inform users of deprecation
Browse files Browse the repository at this point in the history
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: David Bauer <mail@david-bauer.net>
  • Loading branch information
blocktrron committed Dec 16, 2023
1 parent d750ef0 commit 875ff0b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ ifneq ($(GLUON_BRANCH),)
GLUON_AUTOUPDATER_ENABLED ?= 1
endif

ifneq ($(GLUON_FEATURES)$(GLUON_FEATURES_standard)$(GLUON_FEATURES_tiny),)
$(warning *** Warning: GLUON_FEATURES has been deprecated, please use the image-customization framework instead.)
endif

ifneq ($(GLUON_SITE_PACKAGES)$(GLUON_SITE_PACKAGES_standard)$(GLUON_SITE_PACKAGES_tiny),)
$(warning *** Warning: GLUON_SITE_PACKAGES has been deprecated, please use the image-customization framework instead.)
endif

GLUON_AUTOUPDATER_ENABLED ?= 0

# initialize (possibly already user set) directory variables
Expand Down

0 comments on commit 875ff0b

Please sign in to comment.