diff options
author | Saul Wold <sgw@linux.intel.com> | 2017-11-07 10:32:26 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2017-11-20 15:33:02 -0800 |
commit | d53dbb38c43da3fd04fed9a55e7b3b9e2c512b9a (patch) | |
tree | fbe372dba00d45bbf9fbfbb3726708dc2590daeb /recipes-bsp/efilinux/efilinux_1.1.bb | |
parent | 5adbf6df4fd89e7531ccccfb9cec7a5314d635f0 (diff) | |
download | meta-intel-d53dbb38c43da3fd04fed9a55e7b3b9e2c512b9a.tar.gz |
meta-intel: Reorganize the layout to remove common
Remove the concept of the common directory and move all the recipes-* dirs
to the top level as a normal layer would be. layer.conf is updated appropriately
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'recipes-bsp/efilinux/efilinux_1.1.bb')
-rw-r--r-- | recipes-bsp/efilinux/efilinux_1.1.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes-bsp/efilinux/efilinux_1.1.bb b/recipes-bsp/efilinux/efilinux_1.1.bb new file mode 100644 index 00000000..63e80f88 --- /dev/null +++ b/recipes-bsp/efilinux/efilinux_1.1.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | DESCRIPTION = "A UEFI OS loader" | ||
2 | LICENSE = "BSD-2-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://efilinux.h;beginline=5;endline=27;md5=f8d56e644672ac63fd81b55c205283ad" | ||
4 | |||
5 | DEPENDS = "gnu-efi" | ||
6 | |||
7 | inherit deploy | ||
8 | |||
9 | SRCREV = "a995826f9e43f1134baea61610eafd8c173bb776" | ||
10 | PV = "1.1+git${SRCPV}" | ||
11 | |||
12 | SRC_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 | |||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)' | ||
20 | |||
21 | EXTRA_OEMAKE = "INCDIR=${STAGING_INCDIR} LIBDIR=${STAGING_LIBDIR}" | ||
22 | |||
23 | # syslinux uses $LD for linking, strip `-Wl,' so it can work | ||
24 | export LDFLAGS = "`echo $LDFLAGS | sed 's/-Wl,//g'`" | ||
25 | |||
26 | do_deploy () { | ||
27 | install ${S}/efilinux.efi ${DEPLOYDIR}/efilinux.efi | ||
28 | } | ||
29 | addtask deploy before do_build after do_compile | ||
30 | |||
31 | python () { | ||
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 | } | ||