Changeset b4c6e83 in mainline


Ignore:
Timestamp:
2009-04-16T11:01:44Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
10471852
Parents:
be4fc71
Message:

ppc32: create bootable ISO image instead of plain binary
add sample configuration for QEMU

Files:
1 added
2 edited

Legend:

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

    rbe4fc71 rb4c6e83  
    2727#
    2828
    29 build: $(BASE)/image.boot
     29TMP = distroot
    3030
    31 $(BASE)/image.boot: depend arch/$(BARCH)/loader/image.boot
    32         cp arch/$(BARCH)/loader/image.boot $(BASE)/image.boot
     31build: $(BASE)/image.iso
     32
     33$(BASE)/image.iso: depend arch/$(BARCH)/loader/image.boot
     34        mkdir -p $(TMP)/boot
     35        cp arch/$(BARCH)/loader/image.boot $(TMP)/boot/image.boot
     36        cp arch/$(BARCH)/yaboot/ofboot.b $(TMP)/boot/ofboot.b
     37        cp arch/$(BARCH)/yaboot/yaboot $(TMP)/boot/yaboot
     38        cp arch/$(BARCH)/yaboot/yaboot.conf $(TMP)/boot/yaboot.conf
     39        mkisofs -hfs -part -map arch/$(BARCH)/yaboot/maps -no-desktop -hfs-volid "HelenOS" -hfs-bless $(TMP)/boot -r -o $@ $(TMP)/
    3340
    3441depend:
     
    3643
    3744arch/$(BARCH)/loader/image.boot:
    38         make -C arch/$(BARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR)
     45        $(MAKE) -C arch/$(BARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR)
    3946
    4047clean: generic_clean
    41         make -C arch/$(BARCH)/loader clean COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR)
    42         -rm -f $(BASE)/image.boot
     48        $(MAKE) -C arch/$(BARCH)/loader clean COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR)
     49        -rm -fr $(TMP)
     50        -rm -f $(BASE)/image.iso
  • contrib/conf/pearpc.conf

    rbe4fc71 rb4c6e83  
    11ppc_start_resolution = "800x600x32"
    2 pci_ide0_master_installed = 0
    32
    4 prom_bootmethod = "force"
    5 prom_loadfile = "image.boot"
     3pci_ide0_master_installed = 1
     4pci_ide0_master_image = "image.iso"
     5pci_ide0_master_type = "cdrom"
    66
    77key_toggle_mouse_grab = "F11"
Note: See TracChangeset for help on using the changeset viewer.