diff --git a/system_shared.mk b/system_shared.mk index 99bbfe0a..8082816d 100644 --- a/system_shared.mk +++ b/system_shared.mk @@ -37,7 +37,7 @@ endif # Generate build string export BUILD_SYS_NAME = $(shell uname -n) export BUILD_SVR_TYPE = $(strip $(shell cat /etc/issue | cut -d '\' -f 1) ) -export BUILD_USER = $(shell whoami) +export BUILD_USER := $(shell id -u -n) BUILD_DATE := $(shell date) BUILD_TIME := $(shell date +%Y%m%d%H%M%S) export BUILD_STRING = $(PROJECT): Vivado v$(VIVADO_VERSION), $(BUILD_SYS_NAME) ($(BUILD_SVR_TYPE)), Built $(BUILD_DATE) by $(BUILD_USER) diff --git a/system_vivado.mk b/system_vivado.mk index fd9e60b6..4884d41b 100644 --- a/system_vivado.mk +++ b/system_vivado.mk @@ -77,7 +77,7 @@ export VIVADO_PROJECT_SIM_TIME = 1000 ns endif # Synthesis Variables -export VIVADO_VERSION = $(shell vivado -version | grep -Po "v(\d+\.)+\d+" | cut -c2-) +export VIVADO_VERSION := $(shell vivado -version | grep -Po "v(\d+\.)+\d+" | cut -c2-) export VIVADO_INSTALL = $(abspath $(shell which vivado)/../..) export VIVADO_DIR = $(abspath $(PROJ_DIR)/vivado) export VIVADO_PROJECT = $(PROJECT)_project