projects/aports·blob master · refs

15 lines · 506 B

1These git commands now error out, instead of returning aports info.
2
3--- a/Makefile
4+++ b/Makefile
5@@ -46,8 +46,8 @@
6 $(CC) $(ALL_CFLAGS) -c $< -o $@
7
8 gitversion.h:
9- echo "#define GIT_COMMIT_ID 0x`git rev-parse HEAD | head -c8`" > $(PWD)/gitversion.h
10- echo "#define GIT_COMMIT_COUNT `git rev-list --count --all`" >> $(PWD)/gitversion.h
11+ echo "#define GIT_COMMIT_ID 0x0" > $(PWD)/gitversion.h
12+ echo "#define GIT_COMMIT_COUNT 0" >> $(PWD)/gitversion.h
13
14 # Static mbed TLS
15 mbedtls: $(MBEDTLS_CONFIG)