Changeset ba22dcb in mainline
- Timestamp:
- 2005-11-08T14:26:48Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c6861f4
- Parents:
- 6e259d5
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r6e259d5 rba22dcb 47 47 # 48 48 49 DEFS = -DARCH=$(ARCH) -DRELEASE=\"$(RELEASE)\" -DNAME=\"$(NAME)\"49 DEFS = -DARCH=$(ARCH) -DRELEASE=\"$(RELEASE)\" "-DNAME=\"$(NAME)\"" 50 50 CFLAGS = -fno-builtin -fomit-frame-pointer -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -nostdlib -nostdinc -Igeneric/include/ 51 51 LFLAGS = -M 52 AFLAGS = 52 AFLAGS = 53 54 ifdef TAG 55 DEFS += "-DTAG=\"$(TAG)\"" 56 endif 53 57 54 58 ## Setup kernel configuration -
build.ia32
r6e259d5 rba22dcb 53 53 done 54 54 55 make all "ARCH=$ARCH" $ARGS 55 TAG="`svnversion . 2> /dev/null`" 56 TIMESTAMP="`date "+%Y-%m-%d %H:%M:%S" 2> /dev/null`" 57 if [ -z "$TAG" ]; then 58 TAG="built on $TIMESTAMP" 59 else 60 TAG="revision $TAG (built on $TIMESTAMP)" 61 fi 62 63 make all "ARCH=$ARCH" "TAG=$TAG" $ARGS -
generic/src/main/main.c
r6e259d5 rba22dcb 62 62 #include <typedefs.h> 63 63 64 char *project = "SPARTAN kernel release " RELEASE " (" NAME ")"; 64 char *project = "SPARTAN kernel"; 65 #ifdef TAG 66 char *revision = RELEASE " (" NAME ") " TAG; 67 #else 68 char *revision = RELEASE " (" NAME ")"; 69 #endif 65 70 char *copyright = "Copyright (C) 2001-2005 Jakub Jermar\nCopyright (C) 2005 HelenOS project"; 66 71 … … 154 159 arch_post_mm_init(); 155 160 156 printf("%s \n%s\n", project, copyright);161 printf("%s %s\n%s\n", project, revision, copyright); 157 162 printf("%P: hardcoded_ktext_size=%dK, hardcoded_kdata_size=%dK\n", 158 163 config.base, hardcoded_ktext_size/1024, hardcoded_kdata_size/1024);
Note:
See TracChangeset
for help on using the changeset viewer.