Changeset fa024ce in mainline for boot/arch/mips32
- Timestamp:
- 2009-02-12T20:12:08Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 98a4e76
- Parents:
- fcd7053
- Location:
- boot/arch/mips32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/mips32/Makefile.inc
rfcd7053 rfa024ce 29 29 build: $(BASE)/image.boot 30 30 31 $(BASE)/image.boot: depend arch/$( ARCH)/loader/image.boot32 cp arch/$( ARCH)/loader/image.boot $(BASE)/image.boot31 $(BASE)/image.boot: depend arch/$(BARCH)/loader/image.boot 32 cp arch/$(BARCH)/loader/image.boot $(BASE)/image.boot 33 33 34 34 depend: 35 -rm arch/$( ARCH)/loader/image.boot35 -rm arch/$(BARCH)/loader/image.boot 36 36 37 arch/$( ARCH)/loader/image.boot:38 make -C arch/$( ARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) IMAGE=$(IMAGE)37 arch/$(BARCH)/loader/image.boot: 38 make -C arch/$(BARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) 39 39 40 40 clean: 41 make -C arch/$( ARCH)/loader clean COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) IMAGE=$(IMAGE)41 make -C arch/$(BARCH)/loader clean COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) 42 42 -rm -f $(BASE)/image.boot -
boot/arch/mips32/loader/Makefile
rfcd7053 rfa024ce 28 28 29 29 include ../../../../version 30 include ../../../../Makefile.config30 -include ../../../../Makefile.config 31 31 32 32 ## Toolchain configuration … … 40 40 LD_IN = binary 41 41 endif 42 42 43 ifeq ($(IMAGE),ecoff) 43 44 LD_IN = ecoff 44 45 endif 46 45 47 BFD_NAME = elf32-tradlittlemips 46 48 BFD_ARCH = mips … … 64 66 endif 65 67 66 CFLAGS = -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 -pipe 67 68 ifdef REVISION 69 CFLAGS += "-DREVISION=\"$(REVISION)\"" 70 endif 71 72 ifdef TIMESTAMP 73 CFLAGS += "-DTIMESTAMP=\"$(TIMESTAMP)\"" 74 endif 68 CFLAGS = -DRELEASE=$(RELEASE) -I. -I../../../generic -imacros ../../../../config.h -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mhard-float -mips3 -pipe 75 69 76 70 SOURCES = \ -
boot/arch/mips32/loader/main.c
rfcd7053 rfa024ce 29 29 #include "main.h" 30 30 #include <printf.h> 31 #include <macros.h> 31 32 #include "msim.h" 32 33 #include "asm.h" … … 35 36 #define KERNEL_VIRTUAL_ADDRESS 0x80100000 36 37 37 char *release = RELEASE;38 char *release = STRING(RELEASE); 38 39 39 40 #ifdef REVISION 40 char *revision = ", revision " REVISION;41 char *revision = ", revision " STRING(REVISION); 41 42 #else 42 43 char *revision = ""; … … 44 45 45 46 #ifdef TIMESTAMP 46 char *timestamp = "\nBuilt on " TIMESTAMP;47 char *timestamp = "\nBuilt on " STRING(TIMESTAMP); 47 48 #else 48 49 char *timestamp = "";
Note:
See TracChangeset
for help on using the changeset viewer.