Ignore:
Timestamp:
2008-11-11T08:00:42Z (16 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3c4a26
Parents:
a2a5529
Message:

Alfa of SMP support on IA64

File:
1 edited

Legend:

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

    ra2a5529 r59e4864  
    2929LDSCRIPT        = ../gnuefi/elf_$(ARCH)_efi.lds
    3030LDFLAGS         += -T $(LDSCRIPT) -shared -Bsymbolic -L../lib -L../gnuefi $(CRTOBJS)
    31 LOADLIBES       = -lefi -lgnuefi
     31LOADLIBES       = -lefi -lgnuefi $(shell $(CC) -print-libgcc-file-name)
    3232FORMAT          = efi-app-$(ARCH)
    3333
     
    4646        $(OBJDUMP) -d hello.efi > hello.disass 
    4747
    48 hello.so: hello.o image.o
    49         $(LD) $(LDFLAGS) -Map hello.map hello.o -o hello.so $(LOADLIBES)
     48#When selected first lines or second lines, select if image is linked into hello or not - usefull for network boot
     49#hello.so: hello.o image.o
     50hello.so: hello.o
     51#       $(LD) $(LDFLAGS) -Map hello.map hello.o image.o -o hello.so $(LOADLIBES) #link image inside hello
     52        $(LD) $(LDFLAGS) -Map hello.map hello.o -o hello.so $(LOADLIBES) #dont link image inside hello
    5053
    5154hello.o: hello.c
    5255        $(CC) $(INCDIR) $(CFLAGS) $(CPPFLAGS) -c hello.c -o hello.o
    5356
    54 image.o: ../../image.boot
     57image.o: ../../image.boot mkimage
    5558        $(OBJCOPY) -O binary ../../image.boot image.bin
    56         $(OBJCOPY) -I binary -O elf64-ia64-little -B ia64 image.bin image.o
     59        ./mkimage
     60        $(CC) $(INCDIR) $(CFLAGS) $(CPPFLAGS) -c image.c -o image.o
     61#       $(OBJCOPY) -I binary -O elf64-ia64-little -B ia64  image.bin image.o
     62
     63mkimage: mkimage.c
     64        gcc -o mkimage mkimage.c
    5765
    5866
Note: See TracChangeset for help on using the changeset viewer.