Rev 3106 | Rev 3343 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3106 | Rev 3178 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | LINUX_HEADERS = /usr/src/sys/build |
26 | LINUX_HEADERS = /usr/src/sys/build |
27 | CPPFLAGS += -D__KERNEL__ -I$(LINUX_HEADERS)/include |
27 | CPPFLAGS += -D__KERNEL__ -I$(LINUX_HEADERS)/include |
28 | CRTOBJS = ../gnuefi/crt0-efi-$(ARCH).o |
28 | CRTOBJS = ../gnuefi/crt0-efi-$(ARCH).o |
29 | LDSCRIPT = ../gnuefi/elf_$(ARCH)_efi.lds |
29 | LDSCRIPT = ../gnuefi/elf_$(ARCH)_efi.lds |
30 | LDFLAGS += -T $(LDSCRIPT) -shared -Bsymbolic -L../lib -L../gnuefi $(CRTOBJS) |
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 |
32 | FORMAT = efi-app-$(ARCH) |
32 | FORMAT = efi-app-$(ARCH) |
33 | 33 | ||
34 | 34 | ||
35 | all: gefi hello.efi |
35 | all: gefi hello.efi |
36 | 36 |