diff options
author | Matt Fleming <matt.fleming@intel.com> | 2011-09-03 11:43:47 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2011-09-22 12:38:38 +0100 |
commit | 75862d872298aabe20c43286c2f3d5184dd9d691 (patch) | |
tree | 0136a61022c27775a96df782fe94dee83bfe7adc | |
parent | dca494296205647d92d13eb8aa44252ab0eab30e (diff) | |
download | efilinux-75862d872298aabe20c43286c2f3d5184dd9d691.tar.gz |
Makefile: Allow CRT0 and LDSCRIPT to be overridden
Different distributions have a habit of installing the gnu-efi crt0
and ldscripts in various locations on the file system. Until efilinux
gets autoconf support allow the user to override $CRT0 and $LDSCRIPT.
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -48,8 +48,8 @@ else FORMAT=efi-app-$(ARCH) endif -CRT0=$(LIBDIR)/gnuefi/crt0-efi-$(ARCH).o -LDSCRIPT=$(LIBDIR)/gnuefi/elf_$(ARCH)_efi.lds +CRT0 := $(LIBDIR)/gnuefi/crt0-efi-$(ARCH).o +LDSCRIPT := $(LIBDIR)/gnuefi/elf_$(ARCH)_efi.lds CFLAGS=-I. -I/usr/include/efi -I/usr/include/efi/$(ARCH) \ -DEFI_FUNCTION_WRAPPER -fPIC -fshort-wchar -ffreestanding \ |