Skip to content

Commit 8247f3a

Browse files
author
Sebastien Bourdeauducq
committedFeb 17, 2013
bios: add build date to banner
1 parent b135d87 commit 8247f3a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed
 

‎software/bios/Makefile

+5-2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ bios-rescue.elf: linker-rescue.ld $(OBJECTS) libs
2424
-lbase -lcompiler-rt
2525
chmod -x $@
2626

27+
main.o: main.c
28+
$(compile-dep)
29+
2730
%.o: %.c
2831
$(compile-dep)
2932

@@ -38,6 +41,6 @@ flash: bios.bin
3841
m1nor bios.bin
3942

4043
clean:
41-
rm -f $(OBJECTS) $(OBJECTS:.o=.ts) $(OBJECTS:.o=.d) bios.elf bios.bin bios-rescue.elf bios-rescue.bin .*~ *~
44+
rm -f $(OBJECTS) $(OBJECTS:.o=.d) bios.elf bios.bin bios-rescue.elf bios-rescue.bin .*~ *~
4245

43-
.PHONY: clean libs flash
46+
.PHONY: main.o clean libs flash

‎software/bios/main.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,8 @@ static void print_mac(void)
423423

424424
static const char banner[] =
425425
"\nMILKYMIST(tm) v"VERSION" BIOS http://www.milkymist.org\n"
426-
"(c) Copyright 2007-2012 Sebastien Bourdeauducq\n\n"
426+
"(c) Copyright 2007-2013 Sebastien Bourdeauducq\n"
427+
"Built "__DATE__" "__TIME__"\n\n"
427428
"This program is free software: you can redistribute it and/or modify\n"
428429
"it under the terms of the GNU General Public License as published by\n"
429430
"the Free Software Foundation, version 3 of the License.\n";

0 commit comments

Comments
 (0)
Please sign in to comment.