Changeset 22f851e in mainline for boot/arch/ppc32
- Timestamp:
- 2006-11-24T19:52:58Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 228b135
- Parents:
- aca95f6b
- Location:
- boot/arch/ppc32/loader
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ppc32/loader/Makefile
raca95f6b r22f851e 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=powerpc -msoft-float -m32 52 CFLAGS = -DRELEASE=\"$(RELEASE)\" -I. -I../../../generic -I../../../genarch -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=powerpc -msoft-float -m32 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/ppc32/loader/main.c
raca95f6b r22f851e 73 73 } 74 74 75 char *release = RELEASE; 76 77 #ifdef REVISION 78 char *revision = ", revision " REVISION; 79 #else 80 char *revision = ""; 81 #endif 82 83 #ifdef TIMESTAMP 84 char *timestamp = "\nBuilt on " TIMESTAMP; 85 #else 86 char *timestamp = ""; 87 #endif 88 89 /** Print version information. */ 90 static void version_print(void) 91 { 92 printf("HelenOS PPC32 Bootloader\nRelease %s%s%s\nCopyright (C) 2006 HelenOS project\n", release, revision, timestamp); 93 } 75 94 76 95 void bootstrap(void) 77 96 { 78 printf("\nHelenOS PPC Bootloader\n");97 version_print(); 79 98 80 99 init_components();
Note:
See TracChangeset
for help on using the changeset viewer.
