X-Git-Url: https://code.delx.au/refind/blobdiff_plain/b3f1088e428ec704586ecfdddf75f757f213b97e..63072e911e51d8960638fb086fc8ff0fe62ebc9d:/Make.tiano diff --git a/Make.tiano b/Make.tiano index 6823583..84fba95 100644 --- a/Make.tiano +++ b/Make.tiano @@ -3,6 +3,11 @@ # Common Makefile options for rEFInd using TianoCore EDK2 # +# This program is licensed under the terms of the GNU GPL, version 3, +# or (at your option) any later version. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + HOSTARCH = $(shell uname -m | sed s,i[3456789]86,ia32,) ARCH ?= $(HOSTARCH) @@ -37,7 +42,7 @@ ifeq ($(ARCH),aarch64) LD_CODE = aarch64elf endif -EDK2BASE = /usr/local/UDK2014/MyWorkSpace +#EDK2BASE = /usr/local/UDK2014/MyWorkSpace #EDK2BASE = /usr/local/EDK2/tianocore-edk2 #ENTRYPOINT=_ModuleEntryPoint ENTRYPOINT=efi_main @@ -61,16 +66,6 @@ OPTIMFLAGS += -fno-strict-aliasing -Wno-address -Os DEBUGFLAGS = -Wall -Wno-missing-braces -Wno-array-bounds -ffunction-sections -fdata-sections CFLAGS = $(OPTIMFLAGS) -g -fshort-wchar -fno-stack-protector $(DEBUGFLAGS) -c -prefix = /usr/bin/ -CC = $(prefix)gcc -AS = $(prefix)as -LD = $(prefix)ld -AR = $(prefix)ar -RANLIB = $(prefix)ranlib -OBJCOPY = $(prefix)objcopy -GENFW = $(EDK2BASE)/BaseTools/Source/C/bin/GenFw - - LDSCRIPT = $(EDK2BASE)/BaseTools/Scripts/gcc4.4-ld-script LDFLAGS = -nostdlib -n -q --gc-sections --script=$(EDK2BASE)/BaseTools/Scripts/gcc4.4-ld-script \