mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Adding the ability to override the BUILDDIR so I can store branch-builds elsewhere
This commit is contained in:
1 parent
2bc6939f86
commit
69714c8a75
2 files changed
+5
-1
No files matched your search
@@ -1,6 +1,7 @@
|
|||||||
.gitignore
|
.gitignore
|
||||||
.idea/
|
.idea/
|
||||||
output/
|
output/
|
||||||
|
output-main/
|
||||||
html_data.c
|
html_data.c
|
||||||
html_data.h
|
html_data.h
|
||||||
version.h
|
version.h
|
||||||
|
|||||||
@@ -34,7 +34,10 @@ endif
|
|||||||
# The board definition being built: one file per MACHINE_* symbol in machine.h.
|
# The board definition being built: one file per MACHINE_* symbol in machine.h.
|
||||||
MACHINE_SRC = machine/$(MACHINE).c
|
MACHINE_SRC = machine/$(MACHINE).c
|
||||||
|
|
||||||
BUILDDIR = output/$(MACHINE)
|
ifndef BUILDDIR
|
||||||
|
BUILDDIR = output/$(MACHINE)
|
||||||
|
endif
|
||||||
|
|
||||||
VERSION_HEADER := version.h
|
VERSION_HEADER := version.h
|
||||||
|
|
||||||
GIT_VERSION := $(shell git rev-parse --short HEAD)
|
GIT_VERSION := $(shell git rev-parse --short HEAD)
|
||||||
|
|||||||
Reference in new issue
Block a user