diff options
author | Jonathan Archer <jon@jonnyarcher.com> | 2019-12-01 18:08:40 -0600 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-12-02 09:21:47 +0100 |
commit | 3f45ccffa6c2573e9f0ddd4175826614d886587a (patch) | |
tree | 956e6e0055063fb5d39c32d33f5e6ca4b5bb084c /Makefile.common | |
parent | 7aaea085de7ee68d5c6001e04cfece47deccbd87 (diff) | |
download | serenity-3f45ccffa6c2573e9f0ddd4175826614d886587a.zip |
Build System: Add common definitions for git info
Defs for commit, branch, and changes (status)
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common index c00bab00c0..fddac1b9b9 100644 --- a/Makefile.common +++ b/Makefile.common @@ -40,6 +40,6 @@ LD = i686-pc-serenity-g++ AS = i686-pc-serenity-as LINK = i686-pc-serenity-ld -DEFINES = -DSANITIZE_PTRS -DDEBUG +DEFINES = -DSANITIZE_PTRS -DDEBUG -DGIT_COMMIT=\"`git rev-parse --short HEAD`\" -DGIT_BRANCH=\"`git rev-parse --abbrev-ref HEAD`\" -DGIT_CHANGES=\"`git diff-index --quiet HEAD -- && echo "tracked"|| echo "untracked"`\" IPCCOMPILER = $(SERENITY_BASE_DIR)/DevTools/IPCCompiler/IPCCompiler |