Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

bios: add build date to banner

  • Loading branch information...
commit 8247f3a154b8c59fc09c61e81bd04ffedc438bce 1 parent b135d87
Sébastien Bourdeauducq authored February 17, 2013
7  software/bios/Makefile
@@ -24,6 +24,9 @@ bios-rescue.elf: linker-rescue.ld $(OBJECTS) libs
24 24
 		-lbase -lcompiler-rt
25 25
 	chmod -x $@
26 26
 
  27
+main.o: main.c
  28
+	$(compile-dep)
  29
+
27 30
 %.o: %.c
28 31
 	$(compile-dep)
29 32
 
@@ -38,6 +41,6 @@ flash: bios.bin
38 41
 	m1nor bios.bin
39 42
 
40 43
 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 .*~ *~
42 45
 
43  
-.PHONY: clean libs flash
  46
+.PHONY: main.o clean libs flash
3  software/bios/main.c
@@ -423,7 +423,8 @@ static void print_mac(void)
423 423
 
424 424
 static const char banner[] =
425 425
 	"\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"
427 428
 	"This program is free software: you can redistribute it and/or modify\n"
428 429
 	"it under the terms of the GNU General Public License as published by\n"
429 430
 	"the Free Software Foundation, version 3 of the License.\n";

0 notes on commit 8247f3a

Please sign in to comment.
Something went wrong with that request. Please try again.