/SPARTAN/trunk/build.ia32 |
---|
52,4 → 52,12 |
shift |
done |
make all "ARCH=$ARCH" $ARGS |
TAG="`svnversion . 2> /dev/null`" |
TIMESTAMP="`date "+%Y-%m-%d %H:%M:%S" 2> /dev/null`" |
if [ -z "$TAG" ]; then |
TAG="built on $TIMESTAMP" |
else |
TAG="revision $TAG (built on $TIMESTAMP)" |
fi |
make all "ARCH=$ARCH" "TAG=$TAG" $ARGS |
/SPARTAN/trunk/generic/src/main/main.c |
---|
61,7 → 61,12 |
#include <typedefs.h> |
char *project = "SPARTAN kernel release " RELEASE " (" NAME ")"; |
char *project = "SPARTAN kernel"; |
#ifdef TAG |
char *revision = RELEASE " (" NAME ") " TAG; |
#else |
char *revision = RELEASE " (" NAME ")"; |
#endif |
char *copyright = "Copyright (C) 2001-2005 Jakub Jermar\nCopyright (C) 2005 HelenOS project"; |
config_t config; |
153,7 → 158,7 |
tlb_init(); |
arch_post_mm_init(); |
printf("%s\n%s\n", project, copyright); |
printf("%s %s\n%s\n", project, revision, copyright); |
printf("%P: hardcoded_ktext_size=%dK, hardcoded_kdata_size=%dK\n", |
config.base, hardcoded_ktext_size/1024, hardcoded_kdata_size/1024); |
/SPARTAN/trunk/Makefile |
---|
46,11 → 46,15 |
## Common compiler flags |
# |
DEFS = -DARCH=$(ARCH) -DRELEASE=\"$(RELEASE)\" -DNAME=\"$(NAME)\" |
DEFS = -DARCH=$(ARCH) -DRELEASE=\"$(RELEASE)\" "-DNAME=\"$(NAME)\"" |
CFLAGS = -fno-builtin -fomit-frame-pointer -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -nostdlib -nostdinc -Igeneric/include/ |
LFLAGS = -M |
AFLAGS = |
AFLAGS = |
ifdef TAG |
DEFS += "-DTAG=\"$(TAG)\"" |
endif |
## Setup kernel configuration |
# |