File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 18
18
! client /hardnested /tables /* .z
19
19
usb_cmd.lua
20
20
version.c
21
+ armsrc /fpga_version_info.c
21
22
client /ui /ui_overlays.h
22
23
* .Td
23
24
.DS_Store
Original file line number Diff line number Diff line change 10
10
ARMSRC =
11
11
THUMBSRC = cmd.c usb_cdc.c bootrom.c
12
12
ASMSRC = ram-reset.s flash-reset.s
13
- VERSIONSRC =
13
+ VERSIONSRC = version.c
14
14
15
15
# # There is a strange bug with the linker: Sometimes it will not emit the glue to call
16
16
# # BootROM from ARM mode. The symbol is emitted, but the section will be filled with
@@ -22,6 +22,11 @@ VERSIONSRC =
22
22
# stdint.h provided locally until GCC 4.5 becomes C99 compliant
23
23
APP_CFLAGS = -I.
24
24
25
+ # version.c should be remade on every compilation
26
+ .PHONY : version.c
27
+ version.c : default_version.c
28
+ perl ../tools/mkversion.pl .. > $@ || $(COPY ) $^ $@
29
+
25
30
# Do not move this inclusion before the definition of {THUMB,ASM,ARM}SRC
26
31
include ../common/Makefile.common
27
32
You can’t perform that action at this time.
0 commit comments