make.sh: Cleanup of polluted environment

The build environment is using a number of variables which
occasionally conflicted with some other build systems.

This patch cleans that up by renaming some variables and
later unexporting them in the lfs files.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2017-04-20 17:09:42 +02:00
parent 174498ef96
commit dc7d6b204d
27 changed files with 176 additions and 183 deletions

View File

@@ -30,10 +30,10 @@ THISAPP = pakfire
DIR_APP = /opt/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
ifeq "$(MACHINE)" "i586"
ifeq "$(BUILD_ARCH)" "i586"
PAKFIRE_VERSION = $(VERSION)
else
PAKFIRE_VERSION = $(VERSION)-$(MACHINE)
PAKFIRE_VERSION = $(VERSION)-$(BUILD_ARCH)
endif
###############################################################################