Changeset c785296 in mainline


Ignore:
Timestamp:
2007-09-09T19:55:56Z (17 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
857c0e7
Parents:
9b35499
Message:

IA64 loader (based on sparc loader)

Files:
9 added
3 edited

Legend:

Unmodified
Added
Removed
  • HelenOS.config

    r9b35499 rc785296  
    2020@ "indy" Sgi Indy
    2121! [PLATFORM=mips32] MACHINE (choice)
     22
     23# Machine type
     24@ "ski" Ski ia64 simulator
     25@ "i460GX" i460GX chipset machine
     26! [PLATFORM=ia64] MACHINE (choice)
    2227
    2328# Machine
  • boot/arch/ia64/Makefile.inc

    r9b35499 rc785296  
    2727#
    2828
     29ifeq ($(MACHINE),ski)
     30
     31
     32
    2933VMAXLMA_SRC = tools/ia64/vmaxlma.c
     34build: $(BASE)/kernel.bin
     35echo Building SKI
     36#$(BASE)/kernel.bin: $(KERNELDIR)/kernel.bin vmaxlma
     37#       cp $(KERNELDIR)/kernel.bin $(BASE)/kernel.bin
     38#       ./vmaxlma $(BASE)/kernel.bin
     39#vmaxlma: $(VMAXLMA_SRC)
     40#       $(CC) $(VMAXLMA_SRC) -o $@
     41#clean:
     42#       -rm -f $(BASE)/kernel.bin vmaxlma
    3043
    31 build: $(BASE)/kernel.bin
    3244
    33 $(BASE)/kernel.bin: $(KERNELDIR)/kernel.bin vmaxlma
    34         cp $(KERNELDIR)/kernel.bin $(BASE)/kernel.bin
    35         ./vmaxlma $(BASE)/kernel.bin
     45else
    3646
    37 vmaxlma: $(VMAXLMA_SRC)
    38         $(CC) $(VMAXLMA_SRC) -o $@
    3947
    40 clean:
    41         -rm -f $(BASE)/kernel.bin vmaxlma
     48build: $(BASE)/image.boot
     49
     50$(BASE)/image.boot: depend arch/$(ARCH)/loader/image.boot
     51        cp arch/$(ARCH)/loader/image.boot $(BASE)/image.boot
     52
     53depend:
     54        -rm arch/$(ARCH)/loader/image.boot
     55
     56arch/$(ARCH)/loader/image.boot:
     57        make -C arch/$(ARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) "DEFS=$(DEFS)"
     58
     59clean: generic_clean
     60        make -C arch/$(ARCH)/loader clean COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) "DEFS=$(DEFS)"
     61        -rm -f $(BASE)/image.boot
     62
     63
     64endif
  • boot/arch/sparc64/loader/Makefile

    r9b35499 rc785296  
    102102
    103103image.boot: depend _components.h _link.ld $(COMPONENT_OBJECTS) $(OBJECTS)
    104         $(LD) -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) -o $@
     104        $(LD) -Map image.map -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) -o $@
    105105
    106106depend:
Note: See TracChangeset for help on using the changeset viewer.