Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 426598
Collapse All | Expand All

(-)Makefile_orig (-2 / +6 lines)
Lines 24-36 Link Here
24
	-DEFI_FUNCTION_WRAPPER
24
	-DEFI_FUNCTION_WRAPPER
25
endif
25
endif
26
26
27
LDFLAGS = -T $(LIBDIR)/gnuefi/elf_$(ARCH)_efi.lds \
27
LDFLAGS = -T $(LIBDIR)/elf_$(ARCH)_efi.lds \
28
	-shared \
28
	-shared \
29
	-Bsymbolic \
29
	-Bsymbolic \
30
	-nostdlib \
30
	-nostdlib \
31
	-znocombreloc \
31
	-znocombreloc \
32
	-L $(LIBDIR) \
32
	-L $(LIBDIR) \
33
	$(LIBDIR)/gnuefi/crt0-efi-$(ARCH).o \
33
	$(LIBDIR)/crt0-efi-$(ARCH).o \
34
	$(shell $(CC) -print-libgcc-file-name)
34
	$(shell $(CC) -print-libgcc-file-name)
35
35
36
%.o: %.c
36
%.o: %.c
Lines 58-60 Link Here
58
	echo 3 > /proc/sys/vm/drop_caches
58
	echo 3 > /proc/sys/vm/drop_caches
59
	@# run QEMU with UEFI firmware
59
	@# run QEMU with UEFI firmware
60
	qemu-kvm -m 512 -L /usr/lib/qemu-bios -snapshot /dev/sda
60
	qemu-kvm -m 512 -L /usr/lib/qemu-bios -snapshot /dev/sda
61
62
install:
63
	mkdir -p $(DESTDIR)$(PREFIX)/share/gummiboot
64
	cp gummiboot.efi $(DESTDIR)$(PREFIX)/share/gummiboot

Return to bug 426598