Changeset 22f851e in mainline


Ignore:
Timestamp:
2006-11-24T19:52:58Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
228b135
Parents:
aca95f6b
Message:

add version tag to other bootloaders

Location:
boot/arch
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/mips32/loader/Makefile

    raca95f6b r22f851e  
    2727#
    2828
     29include ../../../../version
     30include ../../../Makefile.config
     31
    2932## Toolchain configuration
    3033#
     
    4750endif
    4851
    49 CFLAGS = -I. -I../../../generic -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mhard-float -mips3
     52CFLAGS = -DRELEASE=\"$(RELEASE)\" -I. -I../../../generic -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mhard-float -mips3
     53
     54ifdef REVISION
     55        CFLAGS += "-DREVISION=\"$(REVISION)\""
     56endif
     57
     58ifdef TIMESTAMP
     59        CFLAGS += "-DTIMESTAMP=\"$(TIMESTAMP)\""
     60endif
    5061
    5162SOURCES = \
  • boot/arch/mips32/loader/main.c

    raca95f6b r22f851e  
    3535#define KERNEL_VIRTUAL_ADDRESS 0x80100000
    3636
     37char *release = RELEASE;
     38
     39#ifdef REVISION
     40        char *revision = ", revision " REVISION;
     41#else
     42        char *revision = "";
     43#endif
     44
     45#ifdef TIMESTAMP
     46        char *timestamp = "\nBuilt on " TIMESTAMP;
     47#else
     48        char *timestamp = "";
     49#endif
     50
     51/** Print version information. */
     52static void version_print(void)
     53{
     54        printf("HelenOS MIPS32 Bootloader\nRelease %s%s%s\nCopyright (C) 2006 HelenOS project\n", release, revision, timestamp);
     55}
     56
    3757void bootstrap(void)
    3858{
    39         printf("HelenOS MIPS Bootloader\n");
     59        version_print();
    4060       
    4161        component_t components[COMPONENTS];
  • boot/arch/ppc32/loader/Makefile

    raca95f6b r22f851e  
    2727#
    2828
     29include ../../../../version
     30include ../../../Makefile.config
     31
    2932## Toolchain configuration
    3033#
     
    4750endif
    4851
    49 CFLAGS = -I. -I../../../generic -I../../../genarch -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=powerpc -msoft-float -m32
     52CFLAGS = -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
     54ifdef REVISION
     55        CFLAGS += "-DREVISION=\"$(REVISION)\""
     56endif
     57
     58ifdef TIMESTAMP
     59        CFLAGS += "-DTIMESTAMP=\"$(TIMESTAMP)\""
     60endif
    5061
    5162SOURCES = \
  • boot/arch/ppc32/loader/main.c

    raca95f6b r22f851e  
    7373}
    7474
     75char *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. */
     90static void version_print(void)
     91{
     92        printf("HelenOS PPC32 Bootloader\nRelease %s%s%s\nCopyright (C) 2006 HelenOS project\n", release, revision, timestamp);
     93}
    7594
    7695void bootstrap(void)
    7796{
    78         printf("\nHelenOS PPC Bootloader\n");
     97        version_print();
    7998       
    8099        init_components();
  • boot/arch/ppc64/loader/Makefile

    raca95f6b r22f851e  
    2727#
    2828
     29include ../../../../version
     30include ../../../Makefile.config
     31
    2932## Toolchain configuration
    3033#
     
    4750endif
    4851
    49 CFLAGS = -I. -I../../../generic -I../../../genarch -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=powerpc64 -msoft-float -m64
    50 DEFS =
     52CFLAGS = -DRELEASE=\"$(RELEASE)\" -I. -I../../../generic -I../../../genarch -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=powerpc64 -msoft-float -m64
     53
     54ifdef REVISION
     55        CFLAGS += "-DREVISION=\"$(REVISION)\""
     56endif
     57
     58ifdef TIMESTAMP
     59        CFLAGS += "-DTIMESTAMP=\"$(TIMESTAMP)\""
     60endif
    5161
    5262SOURCES = \
  • boot/arch/ppc64/loader/main.c

    raca95f6b r22f851e  
    7373}
    7474
     75char *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. */
     90static void version_print(void)
     91{
     92        printf("HelenOS PPC64 Bootloader\nRelease %s%s%s\nCopyright (C) 2006 HelenOS project\n", release, revision, timestamp);
     93}
    7594
    7695void bootstrap(void)
    7796{
    78         printf("\nHelenOS PPC Bootloader\n");
     97        version_print();
    7998       
    8099        init_components();
Note: See TracChangeset for help on using the changeset viewer.