Changeset e19d667 in mainline for boot/arch/mips32/loader/Makefile


Ignore:
Timestamp:
2008-05-29T15:26:41Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
136edca
Parents:
33c058d3
Message:

unify pack script

File:
1 edited

Legend:

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

    r33c058d3 re19d667  
    3333#
    3434
     35ifeq ($(IMAGE),binary)
     36        BFD = binary
     37endif
     38ifeq ($(IMAGE),ecoff)
     39        BFD = ecoff-littlemips
     40endif
     41BFD_NAME = elf32-tradlittlemips
     42BFD_ARCH = mips
    3543TARGET = mipsel-linux-gnu
    3644TOOLCHAIN_DIR = /usr/local/mipsel/bin
     
    7381        main.c \
    7482        msim.c \
     83        _components.c \
    7584        ../../../generic/printf.c \
    7685        asm.S \
     
    108117
    109118clean:
    110         -rm -f _components.h _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) image.boot Makefile.depend
     119        -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) image.boot Makefile.depend
    111120
    112 _components.h _link.ld $(COMPONENT_OBJECTS): $(COMPONENTS)
    113         ./pack $(IMAGE) $(OBJCOPY) $(COMPONENTS)
     121_components.h _components.c _link.ld $(COMPONENT_OBJECTS): $(COMPONENTS)
     122        ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD) $(BFD_ARCH) 4096 $(COMPONENTS)
    114123
    115124%.o: %.S
Note: See TracChangeset for help on using the changeset viewer.