- Timestamp:
- 2006-11-24T19:27:09Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 22f851e
- Parents:
- 44d0758
- Location:
- boot/arch/sparc64/loader
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/sparc64/loader/Makefile
r44d0758 raca95f6b 27 27 # 28 28 29 include ../../../../version 30 include ../../../Makefile.config 31 29 32 ## Toolchain configuration 30 33 # … … 47 50 endif 48 51 49 CFLAGS = -I. -I../../../generic -I../../../genarch -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=ultrasparc -m64 52 CFLAGS = -DRELEASE=\"$(RELEASE)\" -I. -I../../../generic -I../../../genarch -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=ultrasparc -m64 53 54 ifdef REVISION 55 CFLAGS += "-DREVISION=\"$(REVISION)\"" 56 endif 57 58 ifdef TIMESTAMP 59 CFLAGS += "-DTIMESTAMP=\"$(TIMESTAMP)\"" 60 endif 50 61 51 62 SOURCES = \ -
boot/arch/sparc64/loader/main.c
r44d0758 raca95f6b 41 41 component_t components[COMPONENTS]; 42 42 43 char *release = RELEASE; 44 45 #ifdef REVISION 46 char *revision = ", revision " REVISION; 47 #else 48 char *revision = ""; 49 #endif 50 51 #ifdef TIMESTAMP 52 char *timestamp = "\nBuilt on " TIMESTAMP; 53 #else 54 char *timestamp = ""; 55 #endif 56 57 /** Print version information. */ 58 static void version_print(void) 59 { 60 printf("HelenOS SPARC64 Bootloader\nRelease %s%s%s\nCopyright (C) 2006 HelenOS project\n", release, revision, timestamp); 61 } 62 43 63 void bootstrap(void) 44 64 { 45 printf("HelenOS SPARC64 Bootloader\n");65 version_print(); 46 66 47 67 init_components(components);
Note:
See TracChangeset
for help on using the changeset viewer.