puzzleos / stubby

UEFI bootloader stub
GNU Lesser General Public License v2.1
12 stars 8 forks source link

building from release tarballs will miss GIT_VERSION in CFLAGS #45

Closed raharper closed 6 months ago

raharper commented 6 months ago

make.conf sets CFLAGS including:

-DGIT_VERSION=$(shell git rev-parse HEAD | cut -c1-12)

This won't work when using the source tarball since it's not a git repository.