Changeset fa024ce in mainline for boot/arch/sparc64/loader


Ignore:
Timestamp:
2009-02-12T20:12:08Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
98a4e76
Parents:
fcd7053
Message:

simplify configuration

Location:
boot/arch/sparc64/loader
Files:
3 edited

Legend:

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

    rfcd7053 rfa024ce  
    2828
    2929include ../../../../version
    30 include ../../../../Makefile.config
     30-include ../../../../Makefile.config
    3131
    3232## Toolchain configuration
     
    5858endif
    5959
    60 CFLAGS = -DRELEASE=\"$(RELEASE)\" -I. -I../../../generic -I../../../genarch -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=ultrasparc -m64 -mno-fpu -pipe
    61 
    62 ifdef REVISION
    63         CFLAGS += "-DREVISION=\"$(REVISION)\""
    64 endif
    65 
    66 ifdef TIMESTAMP
    67         CFLAGS += "-DTIMESTAMP=\"$(TIMESTAMP)\""
    68 endif
     60CFLAGS = -DRELEASE=$(RELEASE) -I. -I../../../generic -I../../../genarch -imacros ../../../../config.h -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=ultrasparc -m64 -mno-fpu -pipe
    6961
    7062SOURCES = \
  • boot/arch/sparc64/loader/main.c

    rfcd7053 rfa024ce  
    3737#include "ofwarch.h"
    3838#include <align.h>
     39#include <macros.h>
    3940#include <string.h>
    4041
     
    4344component_t components[COMPONENTS];
    4445
    45 char *release = RELEASE;
     46char *release = STRING(RELEASE);
    4647
    4748#ifdef REVISION
    48         char *revision = ", revision " REVISION;
     49        char *revision = ", revision " STRING(REVISION);
    4950#else
    5051        char *revision = "";
     
    5253
    5354#ifdef TIMESTAMP
    54         char *timestamp = "\nBuilt on " TIMESTAMP;
     55        char *timestamp = "\nBuilt on " STRING(TIMESTAMP);
    5556#else
    5657        char *timestamp = "";
  • boot/arch/sparc64/loader/ofwarch.c

    rfcd7053 rfa024ce  
    3333 */
    3434
    35 #include <ofwarch.h> 
     35#include <ofwarch.h>
    3636#include <ofw.h>
    3737#include <printf.h>
Note: See TracChangeset for help on using the changeset viewer.