summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalifornia Sullivan <california.l.sullivan@intel.com>2018-03-22 16:16:16 (GMT)
committerCalifornia Sullivan <california.l.sullivan@intel.com>2018-03-27 19:17:31 (GMT)
commit81eb68f4ffab6403f178e0eb2868d6bf53aee792 (patch)
tree2ccd06940359d98ea0f46f687ad251bede03ed5e
parentaab83c8235322149c2d521c0baf33e5b99c77ae2 (diff)
downloadmeta-intel-81eb68f4ffab6403f178e0eb2868d6bf53aee792.tar.gz
efilinux: remove
The code hasn't been touched for over 4 years. Its also unlikely to have been used much if at all considering our previous lack of EFI boot partition support. Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
-rw-r--r--conf/include/maintainers.inc1
-rw-r--r--recipes-bsp/efilinux/efilinux/0001-Disable-address-of-packed-member-warning.patch33
-rw-r--r--recipes-bsp/efilinux/efilinux/0002-initialize-char-pointers.patch33
-rw-r--r--recipes-bsp/efilinux/efilinux_1.1.bb38
4 files changed, 0 insertions, 105 deletions
diff --git a/conf/include/maintainers.inc b/conf/include/maintainers.inc
index 0ab61ab..d37ddb5 100644
--- a/conf/include/maintainers.inc
+++ b/conf/include/maintainers.inc
@@ -2,7 +2,6 @@
2 2
3RECIPE_MAINTAINER_pn-core-image-rt = "Stephano Cetola <stephano.cetola@linux.intel.com>" 3RECIPE_MAINTAINER_pn-core-image-rt = "Stephano Cetola <stephano.cetola@linux.intel.com>"
4RECIPE_MAINTAINER_pn-core-image-rt-sdk = "Stephano Cetola <stephano.cetola@linux.intel.com>" 4RECIPE_MAINTAINER_pn-core-image-rt-sdk = "Stephano Cetola <stephano.cetola@linux.intel.com>"
5RECIPE_MAINTAINER_pn-efilinux = "California Sullivan <california.l.sullivan@intel.com>"
6RECIPE_MAINTAINER_pn-gma500-gfx-check = "Anuj Mittal <anuj.mittal@intel.com>" 5RECIPE_MAINTAINER_pn-gma500-gfx-check = "Anuj Mittal <anuj.mittal@intel.com>"
7RECIPE_MAINTAINER_pn-intel-gpu-tools = "Anuj Mittal <anuj.mittal@intel.com>" 6RECIPE_MAINTAINER_pn-intel-gpu-tools = "Anuj Mittal <anuj.mittal@intel.com>"
8RECIPE_MAINTAINER_pn-intel-microcode = "California Sullivan <california.l.sullivan@intel.com>" 7RECIPE_MAINTAINER_pn-intel-microcode = "California Sullivan <california.l.sullivan@intel.com>"
diff --git a/recipes-bsp/efilinux/efilinux/0001-Disable-address-of-packed-member-warning.patch b/recipes-bsp/efilinux/efilinux/0001-Disable-address-of-packed-member-warning.patch
deleted file mode 100644
index afb9951..0000000
--- a/recipes-bsp/efilinux/efilinux/0001-Disable-address-of-packed-member-warning.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 7c171c1813651a3a02ad2cda361b42ebc7ce324d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 12 Aug 2017 10:34:19 -0700
4Subject: [PATCH 1/2] Disable address-of-packed-member warning
5
6Clang complains so make it happy
7
8loaders/bzimage/bzimage.c:346:55: error: taking address of packed member 'base' of class or structure 'dt_addr_t' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member]
9 err = emalloc(gdt.limit, 8, (EFI_PHYSICAL_ADDRESS *)&gdt.base);
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13Upstream-Status: Pending
14
15 Makefile | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/Makefile b/Makefile
19index a955e34..ff1b79b 100644
20--- a/Makefile
21+++ b/Makefile
22@@ -61,7 +61,7 @@ ifeq ($(ARCH),ia32)
23 endif
24 endif
25 ifeq ($(ARCH),x86_64)
26- CFLAGS += -mno-red-zone
27+ CFLAGS += -mno-red-zone -Wno-address-of-packed-member
28 endif
29
30 LDFLAGS=-T $(LDSCRIPT) -Bsymbolic -shared -nostdlib -znocombreloc \
31--
322.14.1
33
diff --git a/recipes-bsp/efilinux/efilinux/0002-initialize-char-pointers.patch b/recipes-bsp/efilinux/efilinux/0002-initialize-char-pointers.patch
deleted file mode 100644
index 127c187..0000000
--- a/recipes-bsp/efilinux/efilinux/0002-initialize-char-pointers.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 49053e4ff0f3550d019cdad8a93677c18fc69791 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 12 Aug 2017 10:35:09 -0700
4Subject: [PATCH 2/2] initialize char pointers
5
6Clang complains about using them without initializing
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10Upstream-Status: Pending
11
12 entry.c | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/entry.c b/entry.c
16index 0aa6cdd..23ba51e 100644
17--- a/entry.c
18+++ b/entry.c
19@@ -402,9 +402,9 @@ efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *_table)
20 WCHAR *error_buf;
21 EFI_STATUS err;
22 EFI_LOADED_IMAGE *info;
23- CHAR16 *name, *options;
24+ CHAR16 *name = NULL, *options;
25 UINT32 options_size;
26- char *cmdline;
27+ char *cmdline = NULL;
28
29 InitializeLib(image, _table);
30 sys_table = _table;
31--
322.14.1
33
diff --git a/recipes-bsp/efilinux/efilinux_1.1.bb b/recipes-bsp/efilinux/efilinux_1.1.bb
deleted file mode 100644
index 63e80f8..0000000
--- a/recipes-bsp/efilinux/efilinux_1.1.bb
+++ /dev/null
@@ -1,38 +0,0 @@
1DESCRIPTION = "A UEFI OS loader"
2LICENSE = "BSD-2-Clause"
3LIC_FILES_CHKSUM = "file://efilinux.h;beginline=5;endline=27;md5=f8d56e644672ac63fd81b55c205283ad"
4
5DEPENDS = "gnu-efi"
6
7inherit deploy
8
9SRCREV = "a995826f9e43f1134baea61610eafd8c173bb776"
10PV = "1.1+git${SRCPV}"
11
12SRC_URI = "git://git.kernel.org/pub/scm/boot/efilinux/efilinux.git \
13 file://0001-Disable-address-of-packed-member-warning.patch \
14 file://0002-initialize-char-pointers.patch \
15 "
16
17S = "${WORKDIR}/git"
18
19COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)'
20
21EXTRA_OEMAKE = "INCDIR=${STAGING_INCDIR} LIBDIR=${STAGING_LIBDIR}"
22
23# syslinux uses $LD for linking, strip `-Wl,' so it can work
24export LDFLAGS = "`echo $LDFLAGS | sed 's/-Wl,//g'`"
25
26do_deploy () {
27 install ${S}/efilinux.efi ${DEPLOYDIR}/efilinux.efi
28}
29addtask deploy before do_build after do_compile
30
31python () {
32 ccargs = d.getVar('TUNE_CCARGS').split()
33 if '-mx32' in ccargs:
34 # use x86_64 EFI ABI
35 ccargs.remove('-mx32')
36 ccargs.append('-m64')
37 d.setVar('TUNE_CCARGS', ' '.join(ccargs))
38}