Changeset aca95f6b in mainline
- Timestamp:
- 2006-11-24T19:27:09Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 22f851e
- Parents:
- 44d0758
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/Makefile
r44d0758 raca95f6b 30 30 # 31 31 32 -include ../version33 32 -include Makefile.config 34 33 -
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); -
uspace/Makefile
r44d0758 raca95f6b 30 30 # 31 31 32 -include ../version33 32 -include Makefile.config 34 33 -
uspace/init/Makefile
r44d0758 raca95f6b 27 27 # 28 28 29 include ../../version 30 include ../Makefile.config 31 29 32 ## Setup toolchain 30 33 # … … 37 40 38 41 LIBS = $(LIBC_PREFIX)/libc.a 42 DEFS += -DRELEASE=\"$(RELEASE)\" 43 44 ifdef REVISION 45 DEFS += "-DREVISION=\"$(REVISION)\"" 46 endif 47 48 ifdef TIMESTAMP 49 DEFS += "-DTIMESTAMP=\"$(TIMESTAMP)\"" 50 endif 39 51 40 52 ## Sources -
uspace/init/version.c
r44d0758 raca95f6b 38 38 #include "version.h" 39 39 40 char *release = RELEASE; 41 42 #ifdef REVISION 43 char *revision = ", revision " REVISION; 44 #else 45 char *revision = ""; 46 #endif 47 48 #ifdef TIMESTAMP 49 char *timestamp = "\nBuilt on " TIMESTAMP; 50 #else 51 char *timestamp = ""; 52 #endif 53 40 54 /** Print version information. */ 41 55 void version_print(void) 42 56 { 43 puts("HelenOS init"); 44 puts("Copyright (C) 2006 HelenOS project"); 57 printf("HelenOS init\nRelease %s%s%s\nCopyright (C) 2006 HelenOS project\n", release, revision, timestamp); 45 58 } 46 59 47 60 /** @} 48 61 */ 49
Note:
See TracChangeset
for help on using the changeset viewer.