summaryrefslogtreecommitdiffstats
path: root/common/recipes-bsp/gnu-efi/gnu-efi/cross-compile-support.patch
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2012-03-21 00:31:26 (GMT)
committerDarren Hart <dvhart@linux.intel.com>2012-03-23 15:12:30 (GMT)
commitb508457fbf3674cd573f00d972aca55048c015cf (patch)
tree8e6f4b982a396ed1ab60e613b7f53d17c280b877 /common/recipes-bsp/gnu-efi/gnu-efi/cross-compile-support.patch
parent2cd93a046edf78537297ecfe8c1ef10520734e89 (diff)
downloadmeta-intel-b508457fbf3674cd573f00d972aca55048c015cf.tar.gz
efilinux: Add efilinux 1.0 and gnu-efi
efilinux is a UEFI OS loader. It was created as a reference implementation with the aim of being well documented and containing well written source code. efilinux is lightweight and convenient as a tool to debug misbehaving UEFI systems. Thanks to Paul Eggleton for is initial set of recipes from which these were based. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Paul Eggleton <paul.eggleton@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: Kishore K Bodke <kishore.k.bodke@intel.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'common/recipes-bsp/gnu-efi/gnu-efi/cross-compile-support.patch')
-rw-r--r--common/recipes-bsp/gnu-efi/gnu-efi/cross-compile-support.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/common/recipes-bsp/gnu-efi/gnu-efi/cross-compile-support.patch b/common/recipes-bsp/gnu-efi/gnu-efi/cross-compile-support.patch
new file mode 100644
index 0000000..221f80e
--- /dev/null
+++ b/common/recipes-bsp/gnu-efi/gnu-efi/cross-compile-support.patch
@@ -0,0 +1,31 @@
1Add cross compile support
2
3Upstream-Status: Submitted [Maintainer directly]
4
5All the user to specify the build variables in the environment.
6
7Signed-off-by: Darren Hart <dvhart@Linux.intel.com>
8
9Index: gnu-efi-3.0/Make.defaults
10===================================================================
11--- gnu-efi-3.0.orig/Make.defaults
12+++ gnu-efi-3.0/Make.defaults
13@@ -54,12 +55,12 @@ LDFLAGS = -nostdlib
14 INSTALL = install
15 prefix = /usr/bin/
16
17-CC = $(prefix)gcc
18-AS = $(prefix)as
19-LD = $(prefix)ld
20-AR = $(prefix)ar
21-RANLIB = $(prefix)ranlib
22-OBJCOPY = $(prefix)objcopy
23+CC := $(prefix)gcc
24+AS := $(prefix)as
25+LD := $(prefix)ld
26+AR := $(prefix)ar
27+RANLIB := $(prefix)ranlib
28+OBJCOPY := $(prefix)objcopy
29
30 ifeq ($(ARCH),ia64)
31 CFLAGS += -mfixed-range=f32-f127