From 05b6cd9607b08d8144d6df6f3073b2eb3075ca06 Mon Sep 17 00:00:00 2001 From: lemoer Date: Mon, 11 May 2020 00:09:17 +0200 Subject: [PATCH] Minor fixes --- Makefile | 3 ++- docs/user/getting_started.rst | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f614f3d9..58ef3e98 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,7 @@ $(eval $(call mkabspath,GLUON_PATCHESDIR)) GLUON_MULTIDOMAIN ?= 0 GLUON_DEBUG ?= 0 +GLUON_MINIFY ?= 1 # Can be overridden via environment/command line/... to use the Gluon # build system for non-Gluon builds @@ -53,7 +54,7 @@ src-link gluon_base ../../package endef GLUON_VARS = \ - GLUON_RELEASE GLUON_REGION GLUON_MULTIDOMAIN GLUON_DEBUG GLUON_DEPRECATED GLUON_DEVICES \ + GLUON_RELEASE GLUON_REGION GLUON_MULTIDOMAIN GLUON_DEBUG GLUON_MINIFY GLUON_DEPRECATED GLUON_DEVICES \ GLUON_TARGETSDIR GLUON_PATCHESDIR GLUON_TMPDIR GLUON_IMAGEDIR GLUON_PACKAGEDIR \ GLUON_SITEDIR GLUON_RELEASE GLUON_BRANCH GLUON_LANGS GLUON_BASE_FEEDS \ GLUON_TARGET BOARD SUBTARGET diff --git a/docs/user/getting_started.rst b/docs/user/getting_started.rst index 27463805..22f0b83f 100644 --- a/docs/user/getting_started.rst +++ b/docs/user/getting_started.rst @@ -213,9 +213,9 @@ GLUON_DEBUG similar tools. Requires a device or target with at least 16 MB of flash space, e.g. `x86-64`. Unset by default. GLUON_MINIFY - Setting ``GLUON_MINIFY`` will minify scripts during the build process. This flag is enabled by + Setting ``GLUON_MINIFY=1`` will minify scripts during the build process. This flag is enabled by default. Disabling this flag is handy if human readable scripts on the devices are desired for - development purposes. Be aware, that this will increase the size of the resulting images and + development purposes. Be aware that this will increase the size of the resulting images and is therefore not suitable for devices with small flash chips. GLUON_DEVICES