Changeset 4872160 in mainline for boot/arch/mips32/Makefile.inc


Ignore:
Timestamp:
2010-05-04T10:44:55Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
568db0f
Parents:
bb252ca
Message:

new boot infrastructure

  • more code and metadata unification
  • import of up-to-date implementations from the kernel
  • the boot loaders should behave more similarly on all platforms
  • support for deflate compressed (LZ77) boot components
    • this again allows feasible boot images to be created on mips32
  • IA64 is still not booting
    • the broken forked GNU EFI library has been removed, a replacement of the functionality is on its way
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/mips32/Makefile.inc

    rbb252ca r4872160  
    2727#
    2828
    29 include Makefile.common
     29BFD_ARCH = mips
     30BITS = 32
     31PAGE_SIZE = 16384
     32EXTRA_CFLAGS = -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3
    3033
    31 build: $(BASE)/image.boot
     34RD_SRVS += \
     35        $(USPACE_PATH)/srv/bd/gxe_bd/gxe_bd
    3236
    33 $(BASE)/image.boot: $(COMPONENTS) $(INIT_TASKS) $(RD_SRVS) $(RD_APPS) $(CFG)
    34         $(MAKE) -C arch/$(BARCH)/loader PRECHECK=$(PRECHECK)
    35         cp arch/$(BARCH)/loader/image.boot $@
     37ifeq ($(MACHINE),lgxemul)
     38        BFD_NAME = elf32-tradlittlemips
     39        BFD_OUTPUT = ecoff-littlemips
     40        ENDIANESS = LE
     41endif
     42ifeq ($(MACHINE),bgxemul)
     43        BFD_NAME = elf32-tradbigmips
     44        BFD_OUTPUT = ecoff-bigmips
     45        ENDIANESS = BE
     46endif
     47ifeq ($(MACHINE),msim)
     48        BFD_NAME = elf32-tradlittlemips
     49        BFD_OUTPUT = binary
     50        ENDIANESS = LE
     51        EXTRA_GCC_CFLAGS = -mhard-float
     52endif
    3653
    37 clean:
    38         $(MAKE) -C arch/$(BARCH)/loader clean
    39         rm -f $(BASE)/image.boot
     54SOURCES = \
     55        arch/$(BARCH)/src/asm.S \
     56        arch/$(BARCH)/src/main.c \
     57        arch/$(BARCH)/src/putchar.c \
     58        $(COMPS_C) \
     59        genarch/src/division.c \
     60        genarch/src/multiplication.c \
     61        generic/src/printf_core.c \
     62        generic/src/vprintf.c \
     63        generic/src/printf.c \
     64        generic/src/str.c \
     65        generic/src/version.c \
     66        generic/src/inflate.c
Note: See TracChangeset for help on using the changeset viewer.