mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
40
package/efibootmgr/0001-Allow-build-with-uClibc.patch
Normal file
40
package/efibootmgr/0001-Allow-build-with-uClibc.patch
Normal file
@@ -0,0 +1,40 @@
|
||||
From bbfcc60497c326576bb23cb01d90115ef3cf6947 Mon Sep 17 00:00:00 2001
|
||||
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
||||
Date: Fri, 25 Nov 2016 20:26:52 +0200
|
||||
Subject: [PATCH] Remove unneeded <uchar.h> include
|
||||
|
||||
This fixes the build with uClibc.
|
||||
|
||||
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
||||
---
|
||||
src/efibootdump.c | 1 -
|
||||
src/eficonman.c | 1 -
|
||||
2 files changed, 2 deletions(-)
|
||||
|
||||
diff --git a/src/efibootdump.c b/src/efibootdump.c
|
||||
index 6ff8360..7c5a1c5 100644
|
||||
--- a/src/efibootdump.c
|
||||
+++ b/src/efibootdump.c
|
||||
@@ -19,7 +19,6 @@
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
-#include <uchar.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "error.h"
|
||||
diff --git a/src/eficonman.c b/src/eficonman.c
|
||||
index 2c2be38..9bfae79 100644
|
||||
--- a/src/eficonman.c
|
||||
+++ b/src/eficonman.c
|
||||
@@ -17,7 +17,6 @@
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
-#include <uchar.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#define _(String) gettext (String)
|
||||
--
|
||||
2.10.2
|
||||
|
||||
25
package/efibootmgr/Config.in
Normal file
25
package/efibootmgr/Config.in
Normal file
@@ -0,0 +1,25 @@
|
||||
config BR2_PACKAGE_EFIBOOTMGR
|
||||
bool "efibootmgr"
|
||||
depends on BR2_PACKAGE_EFIVAR_ARCH_SUPPORTS # efivar
|
||||
depends on !BR2_STATIC_LIBS # efivar
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # efivar
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # efivar
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_8 # efivar
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
||||
select BR2_PACKAGE_EFIVAR
|
||||
select BR2_PACKAGE_POPT
|
||||
help
|
||||
A Linux user-space application to modify the Intel Extensible
|
||||
Firmware Interface (EFI) Boot Manager. This application can
|
||||
create and destroy boot entries, change the boot order, change
|
||||
the next running boot option, and more.
|
||||
|
||||
https://github.com/rhboot/efibootmgr
|
||||
|
||||
comment "efibootmgr needs a glibc or uClibc toolchain w/ dynamic library, headers >= 3.12, gcc >= 4.9, host gcc >= 4.8"
|
||||
depends on BR2_PACKAGE_EFIVAR_ARCH_SUPPORTS
|
||||
depends on BR2_STATIC_LIBS || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
||||
!BR2_HOST_GCC_AT_LEAST_4_8
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
||||
3
package/efibootmgr/efibootmgr.hash
Normal file
3
package/efibootmgr/efibootmgr.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# locally computed hash
|
||||
sha256 5a708b9690cdc631fd75d8f598128d20cad007e711b975b0143f9517c2dd1bf4 efibootmgr-15.tar.gz
|
||||
sha256 dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa COPYING
|
||||
26
package/efibootmgr/efibootmgr.mk
Normal file
26
package/efibootmgr/efibootmgr.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# efibootmgr
|
||||
#
|
||||
################################################################################
|
||||
|
||||
EFIBOOTMGR_VERSION = 15
|
||||
EFIBOOTMGR_SITE = $(call github,rhboot,efibootmgr,$(EFIBOOTMGR_VERSION))
|
||||
EFIBOOTMGR_LICENSE = GPL-2.0+
|
||||
EFIBOOTMGR_LICENSE_FILES = COPYING
|
||||
EFIBOOTMGR_DEPENDENCIES = host-pkgconf efivar popt $(TARGET_NLS_DEPENDENCIES)
|
||||
EFIBOOTMGR_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
||||
EFIBOOTMGR_MAKE_ARGS = EFIDIR=buildroot
|
||||
|
||||
define EFIBOOTMGR_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
|
||||
LDFLAGS="$(EFIBOOTMGR_LDFLAGS)" $(MAKE1) -C $(@D) \
|
||||
$(EFIBOOTMGR_MAKE_ARGS)
|
||||
endef
|
||||
|
||||
define EFIBOOTMGR_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||
$(EFIBOOTMGR_MAKE_ARGS) DESTDIR=$(TARGET_DIR) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user