4 Commits

Author SHA1 Message Date
Martin Jansa
90d51ea3cd efibootmgr: blacklist, depends on blacklisted efivar
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-27 20:43:20 +01:00
Kai Kang
3c3908a03a efibootmgr: 0.6.0 -> 0.12
Upgrade efibootmgr from 0.6.0 to 0.12.

* update HOMEPAGE
* drop obsolete patches that source files have been removed
* add dependency efivar
* update CFLAGS to fix print wrong version issue

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:21 +02:00
Kai Kang
b1bdecb7be efibootmgr: fix build error with gcc 5.2
It fails to build efibootmgr with gcc 5.2:

src/lib/disk.o: In function `disk_get_scsi_pci':
src/lib/disk.c:154: undefined reference to `get_scsi_pci'
src/lib/efi.o: In function `make_edd30_device_path':
src/lib/efi.c:474: undefined reference to `get_scsi_idlun'
collect2: error: ld returned 1 exit status

Because functions get_scsi_pci and get_scsi_idlun are declared as
inline. It has different semantics for inilne function between gcc 4
and gcc 5.

Pass flag '-fgnu89-inline' to gcc to fix the errors.

Ref:
https://gcc.gnu.org/gcc-5/porting_to.html

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 19:17:09 +02:00
Kang Kai
35ae01ce6c efibootmgr: add recipe
Add efibootmgr recipe from layer meta-linaro and upgrade from 0.5.4 to
0.6.0. efibootmgr is a linux user-space application to modify the EFI Boot
Manager which is useful for us to manage boot on EFI boards.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-30 21:07:36 +02:00