Changeset 4872160 in mainline for boot/Makefile.silo


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 moved

Legend:

Unmodified
Added
Removed
  • boot/Makefile.silo

    rbb252ca r4872160  
    2727#
    2828
    29 BFD_NAME = elf64-ia64-little
    30 BFD_ARCH = ia64
     29.PHONY: all build_dist clean
    3130
    32 JOBFILE = ../../../../tools/jobfile.py
     31include Makefile.common
    3332
    34 CFLAGS = \
    35         -DRELEASE=$(RELEASE) -I. -I../../../generic -I../../../genarch \
    36         -I../../../../kernel/generic/include -imacros ../../../../config.h \
    37         -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration \
    38         -Wmissing-prototypes -Werror -O3 -fno-unwind-tables -mfixed-range=f32-f127 \
    39         -mno-pic -pipe
     33ifeq ($(CONFIG_AOUT_ISOFS_B),y)
     34        SILO_PACKAGE = a.out
     35else
     36        SILO_PACKAGE = raw
     37endif
    4038
    41 DEPEND_DEFS = $(CONFIG_DEFS)
     39ISOFS_B = silo/$(SILO_PACKAGE)/isofs.b
     40SECOND_B = silo/$(SILO_PACKAGE)/second.b
     41SILO_CONF = silo/silo.conf
     42ISOFS_B_IN = $(DISTROOT)/boot/isofs.b
     43
     44all: $(POST_OUTPUT)
     45
     46$(POST_OUTPUT): build_dist
     47        mkisofs -f -G $(ISOFS_B_IN) -B ... -r -o $@ $(DISTROOT)/
     48
     49build_dist: clean
     50        mkdir -p $(DISTROOT)/boot
     51        mkdir -p $(DISTROOT)/HelenOS
     52        cp $(BOOT_OUTPUT) $(DISTROOT)/HelenOS/
     53        cp $(ISOFS_B) $(DISTROOT)/boot/
     54        cp $(SECOND_B) $(DISTROOT)/boot/
     55        cp $(SILO_CONF) $(DISTROOT)/boot/
     56
     57clean:
     58        rm -fr $(DISTROOT)
Note: See TracChangeset for help on using the changeset viewer.