Skip to content

Commit

Permalink
build: add class specific GLUON_SITE_PACKAGES
Browse files Browse the repository at this point in the history
This allows to define a list of packages, which are only installed
for a specific device-class.
  • Loading branch information
blocktrron committed Mar 24, 2020
1 parent 4bcce64 commit a540ef5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ ifneq ($(filter __ERROR__,$(GLUON_FEATURES_standard) $(GLUON_FEATURES_tiny)),)
endif

$(eval $(call merge_lists,GLUON_DEFAULT_PACKAGES,$(GLUON_DEFAULT_PACKAGES) $(GLUON_SITE_PACKAGES)))
$(eval $(call merge_lists,GLUON_CLASS_PACKAGES_standard,$(GLUON_FEATURE_PACKAGES_standard)))
$(eval $(call merge_lists,GLUON_CLASS_PACKAGES_tiny,$(GLUON_FEATURE_PACKAGES_tiny)))
$(eval $(call merge_lists,GLUON_CLASS_PACKAGES_standard,$(GLUON_FEATURE_PACKAGES_standard) $(GLUON_SITE_PACKAGES_standard)))
$(eval $(call merge_lists,GLUON_CLASS_PACKAGES_tiny,$(GLUON_FEATURE_PACKAGES_tiny) $(GLUON_SITE_PACKAGES_tiny)))


LUA := openwrt/staging_dir/hostpkg/bin/lua
Expand Down
8 changes: 8 additions & 0 deletions docs/user/site.rst
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,14 @@ GLUON_SITE_PACKAGES
default package set. It is also possible to remove packages from the
default set by prepending a minus sign to the package name.

GLUON_SITE_PACKAGES_standard
Defines a list of additional packages to include or exclude for devices of
the standard device-class.

GLUON_SITE_PACKAGES_tiny
Defines a list of additional packages to include or exclude for devices of
the tiny device-class.

GLUON_RELEASE
The current release version Gluon should use.

Expand Down

0 comments on commit a540ef5

Please sign in to comment.