Changeset 4872160 in mainline for boot/Makefile.yaboot


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.yaboot

    rbb252ca r4872160  
    2727#
    2828
     29.PHONY: all build_dist clean
     30
    2931include Makefile.common
    3032
    31 build: $(BASE)/image.boot
     33OFBOOT = yaboot/ofboot.b
     34BOOTINFO = yaboot/bootinfo.txt
     35YABOOT = yaboot/yaboot
     36YABOOT_CONF = yaboot/yaboot.conf
     37MAPS = yaboot/maps
    3238
    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 $@
     39all: $(POST_OUTPUT)
     40
     41$(POST_OUTPUT): build_dist
     42        mkisofs -hfs -part -map $(MAPS) -no-desktop -hfs-volid "HelenOS" -hfs-bless $(DISTROOT)/boot -r -o $@ $(DISTROOT)/
     43
     44build_dist: clean
     45        mkdir -p $(DISTROOT)/boot
     46        mkdir -p $(DISTROOT)/ppc
     47        cp $(BOOT_OUTPUT) $(DISTROOT)/boot/
     48        cp $(OFBOOT) $(DISTROOT)/boot/
     49        cp $(BOOTINFO) $(DISTROOT)/ppc/
     50        cp $(YABOOT) $(DISTROOT)/boot/
     51        cp $(YABOOT_CONF) $(DISTROOT)/boot/
    3652
    3753clean:
    38         $(MAKE) -C arch/$(BARCH)/loader clean
    39         rm -f $(BASE)/image.boot $(BASE)/hello.efi $(BASE)/image.bin
     54        rm -fr $(DISTROOT)
Note: See TracChangeset for help on using the changeset viewer.