Changeset fa024ce in mainline for boot/arch/arm32/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/arm32/loader
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/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../../.. -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -pipe
    61 
    62 ifdef REVISION
    63         CFLAGS += "-DREVISION=\"$(REVISION)\""
    64 endif
    65 
    66 ifdef TIMESTAMP
    67         CFLAGS += "-DTIMESTAMP=\"$(TIMESTAMP)\""
    68 endif
    69 
    70 ifdef MACHINE
    71         CFLAGS += "-DMACHINE=$(MACHINE)"
    72 endif
     60CFLAGS = -DRELEASE=$(RELEASE) -I. -I../../../generic -I../../.. -imacros ../../../../config.h -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -pipe
    7361
    7462SOURCES = \
  • boot/arch/arm32/loader/main.c

    rfcd7053 rfa024ce  
    3636
    3737
    38 #include "main.h" 
     38#include "main.h"
    3939#include "asm.h"
    4040#include "_components.h"
    4141#include <printf.h>
     42#include <macros.h>
    4243
    4344#include "mm.h"
     
    4748
    4849
    49 char *release = RELEASE;
     50char *release = STRING(RELEASE);
    5051
    5152#ifdef REVISION
    52         char *revision = ", revision " REVISION;
     53        char *revision = ", revision " STRING(REVISION);
    5354#else
    5455        char *revision = "";
     
    5657
    5758#ifdef TIMESTAMP
    58         char *timestamp = "\nBuilt on " TIMESTAMP;
     59        char *timestamp = "\nBuilt on " STRING(TIMESTAMP);
    5960#else
    6061        char *timestamp = "";
Note: See TracChangeset for help on using the changeset viewer.