From 553ba5c01e1498f58e0e61c14c79f2f7901b6732 Mon Sep 17 00:00:00 2001 From: Ruben Barkow Date: Sun, 1 Dec 2019 19:50:36 +0100 Subject: [PATCH] unify setting of extra software on x86-generic and x86-64 --- site.mk | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/site.mk b/site.mk index 7c9fbe0..aea0325 100644 --- a/site.mk +++ b/site.mk @@ -22,22 +22,12 @@ GLUON_FEATURES := \ web-advanced \ web-wizard -# EXTRA_SOFTWARE_TOOLS_01 -EXTRA_SOFTWARE_TOOLS_01 := \ - nano \ - htop \ - ethtool - -# x86 -ifeq ($(GLUON_TARGET),x86-generic) -GLUON_SITE_PACKAGES += \ - $(EXTRA_SOFTWARE_TOOLS_01) -endif - -# x86-64 -ifeq ($(GLUON_TARGET),x86-64) -GLUON_SITE_PACKAGES += \ - $(EXTRA_SOFTWARE_TOOLS_01) +# x86 and x86-64 add extra software +ifeq ($(GLUON_TARGET),$(filter $(GLUON_TARGET),x86-generic x86-64)) + GLUON_SITE_PACKAGES += \ + nano \ + htop \ + ethtool endif GLUON_PRIORITY ?= 7