From b508457fbf3674cd573f00d972aca55048c015cf Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Tue, 20 Mar 2012 17:31:26 -0700 Subject: 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 CC: Paul Eggleton CC: Tom Zanussi CC: Kishore K Bodke Signed-off-by: Darren Hart --- .../gnu-efi/gnu-efi/cross-compile-support.patch | 31 ++++++++++++++++++++++ .../gnu-efi/gnu-efi/parallel-make.patch | 22 +++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 common/recipes-bsp/gnu-efi/gnu-efi/cross-compile-support.patch create mode 100644 common/recipes-bsp/gnu-efi/gnu-efi/parallel-make.patch (limited to 'common/recipes-bsp/gnu-efi/gnu-efi') 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 00000000..221f80ed --- /dev/null +++ b/common/recipes-bsp/gnu-efi/gnu-efi/cross-compile-support.patch @@ -0,0 +1,31 @@ +Add cross compile support + +Upstream-Status: Submitted [Maintainer directly] + +All the user to specify the build variables in the environment. + +Signed-off-by: Darren Hart + +Index: gnu-efi-3.0/Make.defaults +=================================================================== +--- gnu-efi-3.0.orig/Make.defaults ++++ gnu-efi-3.0/Make.defaults +@@ -54,12 +55,12 @@ LDFLAGS = -nostdlib + INSTALL = install + prefix = /usr/bin/ + +-CC = $(prefix)gcc +-AS = $(prefix)as +-LD = $(prefix)ld +-AR = $(prefix)ar +-RANLIB = $(prefix)ranlib +-OBJCOPY = $(prefix)objcopy ++CC := $(prefix)gcc ++AS := $(prefix)as ++LD := $(prefix)ld ++AR := $(prefix)ar ++RANLIB := $(prefix)ranlib ++OBJCOPY := $(prefix)objcopy + + ifeq ($(ARCH),ia64) + CFLAGS += -mfixed-range=f32-f127 diff --git a/common/recipes-bsp/gnu-efi/gnu-efi/parallel-make.patch b/common/recipes-bsp/gnu-efi/gnu-efi/parallel-make.patch new file mode 100644 index 00000000..27c94e8a --- /dev/null +++ b/common/recipes-bsp/gnu-efi/gnu-efi/parallel-make.patch @@ -0,0 +1,22 @@ +Fix parallel make failure + +Upstream-Status: Submitted [Maintainer directly] + +Add a missing dependency which resulted in a race leading to failure +on larger values of -j. + +Signed-off-by: Darren Hart + +Index: gnu-efi-3.0/Makefile +=================================================================== +--- gnu-efi-3.0.orig/Makefile ++++ gnu-efi-3.0/Makefile +@@ -42,6 +42,8 @@ include $(SRCDIR)/Make.defaults + + SUBDIRS = lib gnuefi inc apps + ++gnuefi: lib ++ + all: check_gcc $(SUBDIRS) + + $(SUBDIRS): -- cgit v1.2.3-54-g00ecf