Age | Commit message (Collapse) | Author |
|
Helps fixing build with gcc 7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
This patch is needed across all efivar when using gcc7 for target
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
initramfs-kexecboot-klibc-image system-config-keyboard system-setup-keyboard geany geany-plugins efivar efibootmgr gimp system-config-keyboard tumbler: Blacklist
* fails repeatedly as reported in:
http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111112.html
http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111173.html
http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111180.html
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Previously, we tweak gcc option for gold linker to workaround
link failure, it caused shared object dependencies missing
while non gold linker:
Print shared object dependencies in target:
......
root@localhost:~# ldd /usr/sbin/efibootmgr
linux-vdso.so.1 (0x00007ffdbbbe4000)
libc.so.6 => /lib64/libc.so.6 (0x00007fce48355000)
PIC => not found
libefivar.so.0 => /usr/lib64/libefivar.so.0 (0x00007fce4813d000)
PIC => not found
libefiboot.so.0 => /usr/lib64/libefiboot.so.0 (0x00007fce47f33000)
/lib64/ld-linux-x86-64.so.2 (0x00007fce486f2000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fce47d2f000)
......
The efivar dynamic library missing PIC option. Do not apply
gold linker fix while non gold linker.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Upgrade efivar from 0.23 to 0.24. Enable full native build at same
time and add patch to fix compile error of "multiple definition of
`efi_set_variable'".
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
* Add COMPATIBLE_HOST item to avoid build error
on mips and ppc as efivar actually a UEFI tool
which is specific to x86 and arm.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
While host gcc version is 4.6.3 in ubuntu 1204, it
did not recognize -std=gnu11 and -Wmaybe-uninitialized.
While host gcc version is 4.4.7 in centos6, it
did not recognize -std=gnu11, -Wmaybe-uninitialized,
and -flto.
For native build, use -std=gnu99 to replace -std=gnu11,
and directly remove -Wmaybe-uninitialized and -flto.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
- Use '-fPIC' to replace 'PIC';
- Use 'pie' to replace 'PIE'
- Remove unknown '--add-needed'
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
It fixes efivar.pc not found:
...
| install -d -m 755 efivar/0.23-r0/image/usr/lib/pkgconfig/
| install -m 644 efivar.pc efivar/0.23-r0/image/usr/lib/pkgconfig/
; install -m 644 efiboot.pc efivar/0.23-r0/image/usr/lib/pkgconfig/
;
| install: cannot stat 'efivar.pc': No such file or directory
| install: cannot stat 'efiboot.pc': No such file or directory
| make[1]: *** [install] Error 1
| make[1]: Leaving directory `efivar/0.23-r0/git/src'
| make: *** [install] Error 2
| ERROR: oe_runmake failed
...
Also sync with latest upstream
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Upstream removed the use of the nvme headers completely,
so no more conflicts. Also drop gcc options patch, ubuntu
12.04 is too old to support in meta-oe/master.
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Upgrade efivar from 0.7 to 0.21.
* update HOMEPAGE and git repo.
* update license file checksum. It made FSF addresses in COPYING be URLs.
Ref: https://github.com/rhinstaller/efivar/commit/ca88012
* add -native recipe to provide command makeguids
and add patch for target package to use this native makeguids command
* add patch to build efivar-native with lower version gcc which doesn't
support options '-Wmaybe-uninitialized' and '-std=gnu11'
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
efivar is is a tool to manipulate UEFI variables.
This is obviously useful only for EFI machines that have
the efivarfs interface enabled in the kernel config (CONFIG_EFIVAR_FS),
and mounted (mount -t efivarfs efivarfs /sys/firmware/efi/efivars).
Sample usage:
GUID: 4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
Name: "LoaderEntrySelected"
Attributes:
Boot Service Access
Runtime Service Access
Value:
00000000 62 00 6f 00 6f 00 74 00 00 00 |b.o.o.t... |
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|