Changeset 23d9938 in mainline for boot/arch/ia64/loader/gefi/HelenOS/Makefile
- Timestamp:
- 2008-12-04T04:27:27Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b15c9f9
- Parents:
- c716d94
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ia64/loader/gefi/HelenOS/Makefile
rc716d94 r23d9938 29 29 LDSCRIPT = ../gnuefi/elf_$(ARCH)_efi.lds 30 30 LDFLAGS += -T $(LDSCRIPT) -shared -Bsymbolic -L../lib -L../gnuefi $(CRTOBJS) 31 LOADLIBES = -lefi -lgnuefi $(shell $(CC) -print-libgcc-file-name) 31 #LOADLIBES = -lefi -lgnuefi $(shell $(CC) -print-libgcc-file-name) 32 LOADLIBES = -lefi -lgnuefi 32 33 FORMAT = efi-app-$(ARCH) 33 34 … … 47 48 48 49 #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 image.o division.o 50 51 hello.so: hello.o image.bin 51 # $(LD) $(LDFLAGS) -Map hello.map hello.o image.o -o hello.so $(LOADLIBES) #link image inside hello52 $(LD) $(LDFLAGS) -Map hello.map hello.o -o hello.so $(LOADLIBES) #dont link image inside hello52 # $(LD) $(LDFLAGS) -Map hello.map hello.o division.o image.o -o hello.so $(LOADLIBES) #link image inside hello 53 $(LD) $(LDFLAGS) -Map hello.map hello.o division.o -o hello.so $(LOADLIBES) #dont link image inside hello 53 54 54 55 hello.o: hello.c 55 56 $(CC) $(INCDIR) $(CFLAGS) $(CPPFLAGS) -c hello.c -o hello.o 57 58 division.o: division.c 59 $(CC) $(INCDIR) $(CFLAGS) $(CPPFLAGS) -c division.c -o division.o 56 60 57 61
Note:
See TracChangeset
for help on using the changeset viewer.