* [ptxdist] [PATCH 1/2] efivar: new package
@ 2018-09-11 8:34 Artur Wiebe
2018-09-11 8:35 ` [ptxdist] [PATCH 2/2] efibootmgr: " Artur Wiebe
2018-09-17 8:44 ` [ptxdist] [PATCH 1/2] efivar: " Michael Olbrich
0 siblings, 2 replies; 5+ messages in thread
From: Artur Wiebe @ 2018-09-11 8:34 UTC (permalink / raw)
To: ptxdist; +Cc: Artur Wiebe
Signed-off-by: Artur Wiebe <artur@4wiebe.de>
---
rules/efivar.in | 8 ++++
rules/efivar.make | 105 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 113 insertions(+)
create mode 100644 rules/efivar.in
create mode 100644 rules/efivar.make
diff --git a/rules/efivar.in b/rules/efivar.in
new file mode 100644
index 000000000..86f944107
--- /dev/null
+++ b/rules/efivar.in
@@ -0,0 +1,8 @@
+## SECTION=shell_and_console
+
+config EFIVAR
+ tristate
+ select GLIBC_DL
+ prompt "efivar"
+ help
+ Tools and libraries to manipulate EFI variables
diff --git a/rules/efivar.make b/rules/efivar.make
new file mode 100644
index 000000000..6aae4807e
--- /dev/null
+++ b/rules/efivar.make
@@ -0,0 +1,105 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Artur Wiebe <artur@4wiebe.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_EFIVAR) += efivar
+
+#
+# Paths and names
+#
+EFIVAR_VERSION := 36
+EFIVAR_MD5 := e98140ab7105e90059dc57a67c8c07e9
+EFIVAR := efivar-$(EFIVAR_VERSION)
+EFIVAR_SUFFIX := tar.bz2
+EFIVAR_URL := https://github.com/rhboot/efivar/releases/download/$(EFIVAR_VERSION)/$(EFIVAR).$(EFIVAR_SUFFIX)
+EFIVAR_SOURCE := $(SRCDIR)/$(EFIVAR).$(EFIVAR_SUFFIX)
+EFIVAR_DIR := $(BUILDDIR)/$(EFIVAR)
+EFIVAR_LICENSE := LGPL-2.1-only
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+#$(EFIVAR_SOURCE):
+# @$(call targetinfo)
+# @$(call get, EFIVAR)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+EFIVAR_MAKE_ENV := $(CROSS_ENV)
+EFIVAR_INSTALL_OPT := libdir="/usr/lib/" install
+
+#
+# autoconf
+#
+EFIVAR_CONF_TOOL := NO
+#EFIVAR_CONF_OPT := $(CROSS_AUTOCONF_USR)
+
+#$(STATEDIR)/efivar.prepare:
+# @$(call targetinfo)
+# @$(call clean, $(EFIVAR_DIR)/config.cache)
+# cd $(EFIVAR_DIR) && \
+# $(EFIVAR_PATH) $(EFIVAR_ENV) \
+# ./configure $(EFIVAR_CONF_OPT)
+# @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/efivar.compile:
+# @$(call targetinfo)
+# @$(call world/compile, EFIVAR)
+# @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/efivar.install:
+# @$(call targetinfo)
+# @$(call world/install, EFIVAR)
+# @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/efivar.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, efivar)
+ @$(call install_fixup, efivar,PRIORITY,optional)
+ @$(call install_fixup, efivar,SECTION,base)
+ @$(call install_fixup, efivar,AUTHOR,"Artur Wiebe <artur@4wiebe.de>")
+ @$(call install_fixup, efivar,DESCRIPTION,missing)
+
+ @$(call install_lib, efivar, 0, 0, 0644, libefivar)
+ @$(call install_lib, efivar, 0, 0, 0644, libefiboot)
+
+ @$(call install_copy, efivar, 0, 0, 0755, -, /usr/bin/efivar)
+
+ @$(call install_finish, efivar)
+
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/efivar.clean:
+# @$(call targetinfo)
+# @$(call clean_pkg, EFIVAR)
+
+# vim: syntax=make
--
2.18.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ptxdist] [PATCH 2/2] efibootmgr: new package
2018-09-11 8:34 [ptxdist] [PATCH 1/2] efivar: new package Artur Wiebe
@ 2018-09-11 8:35 ` Artur Wiebe
2018-09-17 8:45 ` Michael Olbrich
2018-09-17 8:44 ` [ptxdist] [PATCH 1/2] efivar: " Michael Olbrich
1 sibling, 1 reply; 5+ messages in thread
From: Artur Wiebe @ 2018-09-11 8:35 UTC (permalink / raw)
To: ptxdist; +Cc: Artur Wiebe
Signed-off-by: Artur Wiebe <artur@4wiebe.de>
---
rules/efibootmgr.in | 12 +++++
rules/efibootmgr.make | 103 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 115 insertions(+)
create mode 100644 rules/efibootmgr.in
create mode 100644 rules/efibootmgr.make
diff --git a/rules/efibootmgr.in b/rules/efibootmgr.in
new file mode 100644
index 000000000..c48787120
--- /dev/null
+++ b/rules/efibootmgr.in
@@ -0,0 +1,12 @@
+## SECTION=shell_and_console
+
+config EFIBOOTMGR
+ tristate
+ select LIBPOPT
+ select EFIVAR
+ prompt "efibootmgr"
+ help
+ This is efibootmgr, 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.
diff --git a/rules/efibootmgr.make b/rules/efibootmgr.make
new file mode 100644
index 000000000..86df9ab16
--- /dev/null
+++ b/rules/efibootmgr.make
@@ -0,0 +1,103 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Artur Wiebe <artur@4wiebe.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_EFIBOOTMGR) += efibootmgr
+
+#
+# Paths and names
+#
+EFIBOOTMGR_VERSION := 16
+EFIBOOTMGR_MD5 := ab7cf46774fda951a0e8a40beb65a90e
+EFIBOOTMGR := efibootmgr-$(EFIBOOTMGR_VERSION)
+EFIBOOTMGR_SUFFIX := tar.bz2
+EFIBOOTMGR_URL := https://github.com/rhboot/efibootmgr/releases/download/$(EFIBOOTMGR_VERSION)/$(EFIBOOTMGR).$(EFIBOOTMGR_SUFFIX)
+EFIBOOTMGR_SOURCE := $(SRCDIR)/$(EFIBOOTMGR).$(EFIBOOTMGR_SUFFIX)
+EFIBOOTMGR_DIR := $(BUILDDIR)/$(EFIBOOTMGR)
+EFIBOOTMGR_LICENSE := GPL-2.0-only
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+#$(EFIBOOTMGR_SOURCE):
+# @$(call targetinfo)
+# @$(call get, EFIBOOTMGR)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+EFIBOOTMGR_MAKE_ENV := $(CROSS_ENV)
+EFIBOOTMGR_MAKE_OPT := EFIDIR="/boot/EFI"
+EFIBOOTMGR_INSTALL_OPT := EFIDIR="/boot/EFI" install
+
+#
+# autoconf
+#
+EFIBOOTMGR_CONF_TOOL := NO
+#EFIBOOTMGR_CONF_OPT := $(CROSS_AUTOCONF_USR)
+
+#$(STATEDIR)/efibootmgr.prepare:
+# @$(call targetinfo)
+# @$(call clean, $(EFIBOOTMGR_DIR)/config.cache)
+# cd $(EFIBOOTMGR_DIR) && \
+# $(EFIBOOTMGR_PATH) $(EFIBOOTMGR_ENV) \
+# ./configure $(EFIBOOTMGR_CONF_OPT)
+# @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/efibootmgr.compile:
+# @$(call targetinfo)
+# @$(call world/compile, EFIBOOTMGR)
+# @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/efibootmgr.install:
+# @$(call targetinfo)
+# @$(call world/install, EFIBOOTMGR)
+# @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/efibootmgr.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, efibootmgr)
+ @$(call install_fixup, efibootmgr,PRIORITY,optional)
+ @$(call install_fixup, efibootmgr,SECTION,base)
+ @$(call install_fixup, efibootmgr,AUTHOR,"Artur Wiebe <artur@4wiebe.de>")
+ @$(call install_fixup, efibootmgr,DESCRIPTION,missing)
+
+ @$(call install_copy, efibootmgr, 0, 0, 0755, -, /usr/sbin/efibootmgr)
+
+ @$(call install_finish, efibootmgr)
+
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/efibootmgr.clean:
+# @$(call targetinfo)
+# @$(call clean_pkg, EFIBOOTMGR)
+
+# vim: syntax=make
--
2.18.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH 2/2] efibootmgr: new package
2018-09-11 8:35 ` [ptxdist] [PATCH 2/2] efibootmgr: " Artur Wiebe
@ 2018-09-17 8:45 ` Michael Olbrich
0 siblings, 0 replies; 5+ messages in thread
From: Michael Olbrich @ 2018-09-17 8:45 UTC (permalink / raw)
To: ptxdist
On Tue, Sep 11, 2018 at 10:35:00AM +0200, Artur Wiebe wrote:
> Signed-off-by: Artur Wiebe <artur@4wiebe.de>
My comments for efivar apply here too.
Michael
> ---
> rules/efibootmgr.in | 12 +++++
> rules/efibootmgr.make | 103 ++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 115 insertions(+)
> create mode 100644 rules/efibootmgr.in
> create mode 100644 rules/efibootmgr.make
>
> diff --git a/rules/efibootmgr.in b/rules/efibootmgr.in
> new file mode 100644
> index 000000000..c48787120
> --- /dev/null
> +++ b/rules/efibootmgr.in
> @@ -0,0 +1,12 @@
> +## SECTION=shell_and_console
> +
> +config EFIBOOTMGR
> + tristate
> + select LIBPOPT
> + select EFIVAR
> + prompt "efibootmgr"
> + help
> + This is efibootmgr, 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.
> diff --git a/rules/efibootmgr.make b/rules/efibootmgr.make
> new file mode 100644
> index 000000000..86df9ab16
> --- /dev/null
> +++ b/rules/efibootmgr.make
> @@ -0,0 +1,103 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2018 by Artur Wiebe <artur@4wiebe.de>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_EFIBOOTMGR) += efibootmgr
> +
> +#
> +# Paths and names
> +#
> +EFIBOOTMGR_VERSION := 16
> +EFIBOOTMGR_MD5 := ab7cf46774fda951a0e8a40beb65a90e
> +EFIBOOTMGR := efibootmgr-$(EFIBOOTMGR_VERSION)
> +EFIBOOTMGR_SUFFIX := tar.bz2
> +EFIBOOTMGR_URL := https://github.com/rhboot/efibootmgr/releases/download/$(EFIBOOTMGR_VERSION)/$(EFIBOOTMGR).$(EFIBOOTMGR_SUFFIX)
> +EFIBOOTMGR_SOURCE := $(SRCDIR)/$(EFIBOOTMGR).$(EFIBOOTMGR_SUFFIX)
> +EFIBOOTMGR_DIR := $(BUILDDIR)/$(EFIBOOTMGR)
> +EFIBOOTMGR_LICENSE := GPL-2.0-only
> +
> +# ----------------------------------------------------------------------------
> +# Get
> +# ----------------------------------------------------------------------------
> +
> +#$(EFIBOOTMGR_SOURCE):
> +# @$(call targetinfo)
> +# @$(call get, EFIBOOTMGR)
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +EFIBOOTMGR_MAKE_ENV := $(CROSS_ENV)
> +EFIBOOTMGR_MAKE_OPT := EFIDIR="/boot/EFI"
> +EFIBOOTMGR_INSTALL_OPT := EFIDIR="/boot/EFI" install
> +
> +#
> +# autoconf
> +#
> +EFIBOOTMGR_CONF_TOOL := NO
> +#EFIBOOTMGR_CONF_OPT := $(CROSS_AUTOCONF_USR)
> +
> +#$(STATEDIR)/efibootmgr.prepare:
> +# @$(call targetinfo)
> +# @$(call clean, $(EFIBOOTMGR_DIR)/config.cache)
> +# cd $(EFIBOOTMGR_DIR) && \
> +# $(EFIBOOTMGR_PATH) $(EFIBOOTMGR_ENV) \
> +# ./configure $(EFIBOOTMGR_CONF_OPT)
> +# @$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# Compile
> +# ----------------------------------------------------------------------------
> +
> +#$(STATEDIR)/efibootmgr.compile:
> +# @$(call targetinfo)
> +# @$(call world/compile, EFIBOOTMGR)
> +# @$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# Install
> +# ----------------------------------------------------------------------------
> +
> +#$(STATEDIR)/efibootmgr.install:
> +# @$(call targetinfo)
> +# @$(call world/install, EFIBOOTMGR)
> +# @$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/efibootmgr.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, efibootmgr)
> + @$(call install_fixup, efibootmgr,PRIORITY,optional)
> + @$(call install_fixup, efibootmgr,SECTION,base)
> + @$(call install_fixup, efibootmgr,AUTHOR,"Artur Wiebe <artur@4wiebe.de>")
> + @$(call install_fixup, efibootmgr,DESCRIPTION,missing)
> +
> + @$(call install_copy, efibootmgr, 0, 0, 0755, -, /usr/sbin/efibootmgr)
> +
> + @$(call install_finish, efibootmgr)
> +
> + @$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# Clean
> +# ----------------------------------------------------------------------------
> +
> +#$(STATEDIR)/efibootmgr.clean:
> +# @$(call targetinfo)
> +# @$(call clean_pkg, EFIBOOTMGR)
> +
> +# vim: syntax=make
> --
> 2.18.0
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH 1/2] efivar: new package
2018-09-11 8:34 [ptxdist] [PATCH 1/2] efivar: new package Artur Wiebe
2018-09-11 8:35 ` [ptxdist] [PATCH 2/2] efibootmgr: " Artur Wiebe
@ 2018-09-17 8:44 ` Michael Olbrich
1 sibling, 0 replies; 5+ messages in thread
From: Michael Olbrich @ 2018-09-17 8:44 UTC (permalink / raw)
To: ptxdist
On Tue, Sep 11, 2018 at 10:34:59AM +0200, Artur Wiebe wrote:
> Signed-off-by: Artur Wiebe <artur@4wiebe.de>
> ---
> rules/efivar.in | 8 ++++
> rules/efivar.make | 105 ++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 113 insertions(+)
> create mode 100644 rules/efivar.in
> create mode 100644 rules/efivar.make
>
> diff --git a/rules/efivar.in b/rules/efivar.in
> new file mode 100644
> index 000000000..86f944107
> --- /dev/null
> +++ b/rules/efivar.in
> @@ -0,0 +1,8 @@
> +## SECTION=shell_and_console
> +
> +config EFIVAR
> + tristate
> + select GLIBC_DL
select LIBC_DL
> + prompt "efivar"
> + help
> + Tools and libraries to manipulate EFI variables
> diff --git a/rules/efivar.make b/rules/efivar.make
> new file mode 100644
> index 000000000..6aae4807e
> --- /dev/null
> +++ b/rules/efivar.make
> @@ -0,0 +1,105 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2018 by Artur Wiebe <artur@4wiebe.de>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_EFIVAR) += efivar
> +
> +#
> +# Paths and names
> +#
> +EFIVAR_VERSION := 36
> +EFIVAR_MD5 := e98140ab7105e90059dc57a67c8c07e9
> +EFIVAR := efivar-$(EFIVAR_VERSION)
> +EFIVAR_SUFFIX := tar.bz2
> +EFIVAR_URL := https://github.com/rhboot/efivar/releases/download/$(EFIVAR_VERSION)/$(EFIVAR).$(EFIVAR_SUFFIX)
> +EFIVAR_SOURCE := $(SRCDIR)/$(EFIVAR).$(EFIVAR_SUFFIX)
> +EFIVAR_DIR := $(BUILDDIR)/$(EFIVAR)
> +EFIVAR_LICENSE := LGPL-2.1-only
> +
> +# ----------------------------------------------------------------------------
> +# Get
> +# ----------------------------------------------------------------------------
> +
> +#$(EFIVAR_SOURCE):
> +# @$(call targetinfo)
> +# @$(call get, EFIVAR)
remove[1]
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +EFIVAR_MAKE_ENV := $(CROSS_ENV)
> +EFIVAR_INSTALL_OPT := libdir="/usr/lib/" install
these should come after the _CONF_TOOL
> +
> +#
> +# autoconf
> +#
remove
> +EFIVAR_CONF_TOOL := NO
> +#EFIVAR_CONF_OPT := $(CROSS_AUTOCONF_USR)
remove
> +
> +#$(STATEDIR)/efivar.prepare:
> +# @$(call targetinfo)
> +# @$(call clean, $(EFIVAR_DIR)/config.cache)
> +# cd $(EFIVAR_DIR) && \
> +# $(EFIVAR_PATH) $(EFIVAR_ENV) \
> +# ./configure $(EFIVAR_CONF_OPT)
> +# @$(call touch)
remove
> +# ----------------------------------------------------------------------------
> +# Compile
> +# ----------------------------------------------------------------------------
> +
> +#$(STATEDIR)/efivar.compile:
> +# @$(call targetinfo)
> +# @$(call world/compile, EFIVAR)
> +# @$(call touch)
remove
> +
> +# ----------------------------------------------------------------------------
> +# Install
> +# ----------------------------------------------------------------------------
> +
> +#$(STATEDIR)/efivar.install:
> +# @$(call targetinfo)
> +# @$(call world/install, EFIVAR)
> +# @$(call touch)
remove
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/efivar.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, efivar)
> + @$(call install_fixup, efivar,PRIORITY,optional)
> + @$(call install_fixup, efivar,SECTION,base)
> + @$(call install_fixup, efivar,AUTHOR,"Artur Wiebe <artur@4wiebe.de>")
> + @$(call install_fixup, efivar,DESCRIPTION,missing)
> +
> + @$(call install_lib, efivar, 0, 0, 0644, libefivar)
> + @$(call install_lib, efivar, 0, 0, 0644, libefiboot)
> +
> + @$(call install_copy, efivar, 0, 0, 0755, -, /usr/bin/efivar)
> +
> + @$(call install_finish, efivar)
> +
> + @$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# Clean
> +# ----------------------------------------------------------------------------
> +
> +#$(STATEDIR)/efivar.clean:
> +# @$(call targetinfo)
> +# @$(call clean_pkg, EFIVAR)
remove
Michael
[1] https://www.ptxdist.org/doc/contributing.html#misc
> +
> +# vim: syntax=make
> --
> 2.18.0
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ptxdist] [PATCH 1/2] efivar: new package
@ 2018-09-21 10:03 Artur Wiebe
0 siblings, 0 replies; 5+ messages in thread
From: Artur Wiebe @ 2018-09-21 10:03 UTC (permalink / raw)
To: ptxdist; +Cc: Artur Wiebe
Signed-off-by: Artur Wiebe <artur@4wiebe.de>
---
rules/efivar.in | 8 +++++++
rules/efivar.make | 59 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 67 insertions(+)
create mode 100644 rules/efivar.in
create mode 100644 rules/efivar.make
diff --git a/rules/efivar.in b/rules/efivar.in
new file mode 100644
index 000000000..508e412aa
--- /dev/null
+++ b/rules/efivar.in
@@ -0,0 +1,8 @@
+## SECTION=shell_and_console
+
+config EFIVAR
+ tristate
+ select LIBC_DL
+ prompt "efivar"
+ help
+ Tools and libraries to manipulate EFI variables
diff --git a/rules/efivar.make b/rules/efivar.make
new file mode 100644
index 000000000..105d5a902
--- /dev/null
+++ b/rules/efivar.make
@@ -0,0 +1,59 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Artur Wiebe <artur@4wiebe.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_EFIVAR) += efivar
+
+#
+# Paths and names
+#
+EFIVAR_VERSION := 36
+EFIVAR_MD5 := e98140ab7105e90059dc57a67c8c07e9
+EFIVAR := efivar-$(EFIVAR_VERSION)
+EFIVAR_SUFFIX := tar.bz2
+EFIVAR_URL := https://github.com/rhboot/efivar/releases/download/$(EFIVAR_VERSION)/$(EFIVAR).$(EFIVAR_SUFFIX)
+EFIVAR_SOURCE := $(SRCDIR)/$(EFIVAR).$(EFIVAR_SUFFIX)
+EFIVAR_DIR := $(BUILDDIR)/$(EFIVAR)
+EFIVAR_LICENSE := LGPL-2.1-only
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+EFIVAR_CONF_TOOL := NO
+EFIVAR_MAKE_ENV := $(CROSS_ENV)
+EFIVAR_INSTALL_OPT := libdir="/usr/lib/" install
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/efivar.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, efivar)
+ @$(call install_fixup, efivar,PRIORITY,optional)
+ @$(call install_fixup, efivar,SECTION,base)
+ @$(call install_fixup, efivar,AUTHOR,"Artur Wiebe <artur@4wiebe.de>")
+ @$(call install_fixup, efivar,DESCRIPTION,missing)
+
+ @$(call install_lib, efivar, 0, 0, 0644, libefivar)
+ @$(call install_lib, efivar, 0, 0, 0644, libefiboot)
+
+ @$(call install_copy, efivar, 0, 0, 0755, -, /usr/bin/efivar)
+
+ @$(call install_finish, efivar)
+
+ @$(call touch)
+
+
+# vim: syntax=make
--
2.19.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-09-21 10:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-11 8:34 [ptxdist] [PATCH 1/2] efivar: new package Artur Wiebe
2018-09-11 8:35 ` [ptxdist] [PATCH 2/2] efibootmgr: " Artur Wiebe
2018-09-17 8:45 ` Michael Olbrich
2018-09-17 8:44 ` [ptxdist] [PATCH 1/2] efivar: " Michael Olbrich
2018-09-21 10:03 Artur Wiebe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox