diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -7,6 +7,8 @@ ############ compiler ############ +GIT_REVISION=$(shell git rev-parse HEAD) + #use our cross compiler CC=i686-foolos-gcc AS=i686-foolos-as @@ -18,6 +20,7 @@ AS=i686-elf-as ############ compiler flags ############ CFLAGS= +CFLAGS=-DGIT_REVISION=\"$(GIT_REVISION)\" CFLAGS+=-ffreestanding # do we need this if using own compiler? CFLAGS+=-nostdlib CFLAGS+=-O0 |
