Skip to content

Commit

Permalink
Merge pull request #279 from slaclab/pre-release
Browse files Browse the repository at this point in the history
Release Candidate v4.6.1
  • Loading branch information
ruck314 authored Jan 31, 2023
2 parents 3c7653d + 6634b2c commit b74e044
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
.Trashes
ehthumbs.db
Thumps.db
*.swp
build.info

# Build directories
Expand Down
4 changes: 2 additions & 2 deletions system_shared.mk
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ 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)

# Check the GIT status
$(shell git update-index --refresh)
export GIT_STATUS = $(shell git diff-index --name-only HEAD)

# Check for non-dirty git clone
Expand All @@ -56,13 +57,12 @@ ifeq ($(GIT_STATUS),)
export IMAGENAME = $(PROJECT)-$(PRJ_VERSION)-$(BUILD_TIME)-$(USER)-$(GIT_HASH_SHORT)_$(RECONFIG_STATIC_HASH)
endif
else
export GIT_HASH_MSG = dirty
export GIT_HASH_MSG = dirty (uncommitted code)
# Check if we are using GIT tagging
ifeq ($(GIT_BYPASS), 0)
export GIT_HASH_LONG =
export GIT_HASH_SHORT =
else
export GIT_STATUS =
export GIT_HASH_LONG = 0
export GIT_HASH_SHORT = 0
endif
Expand Down
2 changes: 1 addition & 1 deletion system_vivado.mk
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ test:
@echo EMBED_GUI: $(EMBED_GUI)
@echo EMBED_ELF: $(EMBED_ELF)
@echo Untracked Files:
@echo "\t$(foreach ARG,$(GIT_STATUS), $(ARG)\n)"
@echo "${GIT_STATUS}" | sed -e 's/ /\n/g'

###############################################################
#### Build Location ###########################################
Expand Down

0 comments on commit b74e044

Please sign in to comment.