Changeset c2ee1c5c in mainline


Ignore:
Timestamp:
2005-11-22T11:45:53Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e8eed85
Parents:
1444af8
Message:

uspace building

Files:
1 added
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • _link.ld.in

    r1444af8 rc2ee1c5c  
    1 
    21OUTPUT_FORMAT(binary)
    3 STARTUP(libc/entry.o)
     2STARTUP(libc/arch/ARCH/entry.o)
    43ENTRY(__entry)
    54
  • libc/Makefile

    r1444af8 rc2ee1c5c  
    5454        AS = as
    5555        LD = ld
     56        AR = ar
    5657        OBJCOPY = objcopy
    5758        OBJDUMP = objdump
     
    6061        AS = $(TOOLCHAIN_DIR)/$(TARGET)-as
    6162        LD = $(TOOLCHAIN_DIR)/$(TARGET)-ld
     63        AR = $(TOOLCHAIN_DIR)/$(TARGET)-ar
    6264        OBJCOPY = $(TOOLCHAIN_DIR)/$(TARGET)-objcopy
    6365        OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump
     
    7678ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES)))
    7779
    78 .PHONY: all clean depend boot
     80.PHONY: all clean depend
    7981
    8082all: libc.a
     
    8385
    8486clean:
    85         -rm -f libc.a
     87        -rm -f libc.a Makefile.depend
    8688        find generic/ arch/$(ARCH)/ -name '*.o' -follow -exec rm \{\} \;
    8789
     
    9092
    9193libc.a: depend $(ARCH_OBJECTS) $(GENERIC_OBJECTS)
    92        
     94        $(AR) rc libc.a $(ARCH_OBJECTS) $(GENERIC_OBJECTS)
    9395
    9496%.o: %.S
Note: See TracChangeset for help on using the changeset viewer.