Changeset 960f8476 in mainline for boot/arch/ia64/loader/Makefile


Ignore:
Timestamp:
2008-05-30T14:22:58Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
afb1e35
Parents:
136edca
Message:

finish unifying pack script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/ia64/loader/Makefile

    r136edca r960f8476  
    3333#
    3434
     35BFD_NAME = elf64-ia64-little
     36BFD_ARCH = ia64
    3537TARGET = ia64-pc-linux-gnu
    3638TOOLCHAIN_DIR = /usr/local/ia64/bin
     
    7880        ../../../generic/string.c \
    7981        ../../../genarch/balloc.c \
     82        _components.c \
    8083        asm.S \
    8184        boot.S
     
    9699        $(USPACEDIR)/app/klog/klog
    97100
    98 
    99101OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
    100102COMPONENT_OBJECTS := $(addsuffix .o,$(basename $(notdir $(COMPONENTS))))
     
    106108-include Makefile.depend
    107109
    108 
    109110hello.efi: image.boot
    110111        make -C gefi/HelenOS PREFIX=$(GEFI_PREFIX)
     
    114115
    115116image.boot: depend _components.h _link.ld $(COMPONENT_OBJECTS) $(OBJECTS)
    116         $(LD) -Map boot.map -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) -o $@
     117        $(LD) -Map image.map -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) -o $@
    117118
    118119depend:
     
    120121
    121122clean:
    122         -rm -f _components.h _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) image.boot boot.disasm Makefile.depend
     123        -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) image.boot image.map image.disasm Makefile.depend
    123124        make -C gefi/HelenOS clean
    124125
    125 _components.h _link.ld $(COMPONENT_OBJECTS): $(COMPONENTS)
    126         ./pack $(IMAGE) $(OBJCOPY) $(COMPONENTS)
     126_components.h _components.c _link.ld $(COMPONENT_OBJECTS): $(COMPONENTS) _link.ld.in
     127        ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) 16384 "unsigned long" $(COMPONENTS)
    127128
    128129%.o: %.S
     
    133134
    134135disasm: image.boot
    135         $(OBJDUMP) -d image.boot > boot.disasm
     136        $(OBJDUMP) -d image.boot > image.disasm
Note: See TracChangeset for help on using the changeset viewer.