Adding the ability to override the BUILDDIR so I can store branch-builds elsewhere

This commit is contained in:
Rob Emery committed 2026-10-22 09:40:17 +01:00
1 parent 2bc6939f86
commit 69714c8a75
2 files changed
+5 -1

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
.gitignore
.idea/
output/
output-main/
html_data.c
html_data.h
version.h
+4 -1
View File
@@ -34,7 +34,10 @@ endif
# The board definition being built: one file per MACHINE_* symbol in machine.h.
MACHINE_SRC = machine/$(MACHINE).c
BUILDDIR = output/$(MACHINE)
ifndef BUILDDIR
BUILDDIR = output/$(MACHINE)
endif
VERSION_HEADER := version.h
GIT_VERSION := $(shell git rev-parse --short HEAD)