Changeset 59e4864 in mainline for boot/arch/ia64/loader/gefi/HelenOS/Makefile
- Timestamp:
- 2008-11-11T08:00:42Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f3c4a26
- Parents:
- a2a5529
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ia64/loader/gefi/HelenOS/Makefile
ra2a5529 r59e4864 29 29 LDSCRIPT = ../gnuefi/elf_$(ARCH)_efi.lds 30 30 LDFLAGS += -T $(LDSCRIPT) -shared -Bsymbolic -L../lib -L../gnuefi $(CRTOBJS) 31 LOADLIBES = -lefi -lgnuefi 31 LOADLIBES = -lefi -lgnuefi $(shell $(CC) -print-libgcc-file-name) 32 32 FORMAT = efi-app-$(ARCH) 33 33 … … 46 46 $(OBJDUMP) -d hello.efi > hello.disass 47 47 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 50 hello.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 50 53 51 54 hello.o: hello.c 52 55 $(CC) $(INCDIR) $(CFLAGS) $(CPPFLAGS) -c hello.c -o hello.o 53 56 54 image.o: ../../image.boot 57 image.o: ../../image.boot mkimage 55 58 $(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 63 mkimage: mkimage.c 64 gcc -o mkimage mkimage.c 57 65 58 66
Note:
See TracChangeset
for help on using the changeset viewer.