From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/8] meson-tools: New Package
Date: Sun, 3 Dec 2017 14:23:48 +0100 [thread overview]
Message-ID: <20171203142348.1766c013@windsurf.lan> (raw)
In-Reply-To: <20171203125619.30919-1-daggs@gmx.com>
Hello,
Thanks for this patch series!
On Sun, 3 Dec 2017 14:56:12 +0200, Dagg Stompler wrote:
> all amlogic's meson based soc require a signed firmware to boot, this
> package provides a binary to do so.
>
> Signed-off-by: Dagg Stompler <daggs@gmx.com>
I was confused originally when reading this patch, because I thought
you were talking about the Meson build system (http://mesonbuild.com/)
and not the Meson family of SoC (http://linux-meson.com/doku.php).
Minor nit on the commit title, I prefer lower-case "new" rather than
you. For your other commits in the same series, please drop the leading
"." in the commit titles.
> diff --git a/package/meson-tools/0001-support_crosscompile.patch b/package/meson-tools/0001-support_crosscompile.patch
> new file mode 100644
> index 0000000000..ef937f78ab
> --- /dev/null
> +++ b/package/meson-tools/0001-support_crosscompile.patch
We want this to be a Git formatted patch (i.e generated with git
format-patch), to have a description and Signed-off-by. Note that those
requirements for package patches are detailed in the Buildroot
documentation.
> diff --git a/package/meson-tools/Config.in.host b/package/meson-tools/Config.in.host
> new file mode 100644
> index 0000000000..d97a14ac41
> --- /dev/null
> +++ b/package/meson-tools/Config.in.host
> @@ -0,0 +1,9 @@
> +config BR2_PACKAGE_HOST_MESON_TOOLS
> + bool "host meson tools"
bool "host meson-tools" instead.
> + help
> + meson-tools is a collection of tools for use with
> + the Amlogic Meson family of ARM based SoCs.
> + it allows managment of signatures which are required
"It allows the management of..."
> + for booting amlogic based boards with u-boot.
> +
> + https://github.com/afaerber/meson-tools
> diff --git a/package/meson-tools/meson-tools.hash b/package/meson-tools/meson-tools.hash
> new file mode 100644
> index 0000000000..b5f844ab58
> --- /dev/null
> +++ b/package/meson-tools/meson-tools.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256 5a956f5a6ff8c45fc79d649982287c4548a1df4f0ef9e5aa6584493d552a54a3 meson-tools-5e01cbadc6f6f21ad88a63492a83182fc4b19d37.tar.gz
> diff --git a/package/meson-tools/meson-tools.mk b/package/meson-tools/meson-tools.mk
> new file mode 100644
> index 0000000000..19f5bf543b
> --- /dev/null
> +++ b/package/meson-tools/meson-tools.mk
> @@ -0,0 +1,31 @@
> +################################################################################
> +#
> +# meson-tools
> +#
> +################################################################################
> +
> +HOST_MESON_TOOLS_VERSION = 5e01cbadc6f6f21ad88a63492a83182fc4b19d37
> +HOST_MESON_TOOLS_SITE = $(call github,afaerber,meson-tools,$(HOST_MESON_TOOLS_VERSION))
> +HOST_MESON_TOOLS_LICENSE = GPL-2.0+
> +HOST_MESON_TOOLS_LICENSE_FILES = COPYING README.md
> +HOST_MESON_TOOLS_DEPENDENCIES += host-openssl
= instead of +=.
> +
> +HOST_MESON_TOOLS_MAKE_OPTS = CC="$(HOSTCC)" \
> + CFLAGS="$(HOST_CFLAGS)" \
> + LDFLAGS="$(HOST_LDFLAGS)"
Can you try passing $(HOST_CONFIGURE_OPTS) instead ?
> +
> +define HOST_MESON_TOOLS_BUILD_CMDS
> + $(MAKE) -C $(@D) $(HOST_MESON_TOOLS_MAKE_OPTS)
> +endef
> +
> +define HOST_MESON_TOOLS_INSTALL_BIN
> + $(INSTALL) -m 0755 $(@D)/$(1) $(HOST_DIR)/bin
> +endef
> +
> +define HOST_MESON_TOOLS_INSTALL_CMDS
> + $(call HOST_MESON_TOOLS_INSTALL_BIN,amlbootsig)
> + $(call HOST_MESON_TOOLS_INSTALL_BIN,unamlbootsig)
> + $(call HOST_MESON_TOOLS_INSTALL_BIN,amlinfo)
Better:
HOST_MESON_TOOLS_PROGS = amlbootsig unamlbootsig amlinfo
define HOST_MESON_TOOLS_INSTALL_CMDS
$(foreach f,$(HOST_MESON_TOOLS_PROGS),
$(INSTALL) -D -m 0755 $(@D)/$(f) $(HOST_DIR)/bin/$(f)
)
endef
Best regards,
Thomas Petazzoni
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-12-03 13:23 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-03 12:56 [Buildroot] [PATCH 1/8] meson-tools: New Package Dagg Stompler
2017-12-03 12:56 ` [Buildroot] [PATCH 2/8] odroidc2: add boot.cmd for mainline uboot Dagg Stompler
2017-12-03 12:56 ` [Buildroot] [PATCH 3/8] odroidc2: add post build script Dagg Stompler
2017-12-03 13:27 ` Thomas Petazzoni
2017-12-03 15:59 ` daggs
2017-12-03 12:56 ` [Buildroot] [PATCH 4/8] odroidc2: add mainline kernel config Dagg Stompler
2017-12-03 13:28 ` Thomas Petazzoni
2017-12-03 15:55 ` daggs
2017-12-03 17:19 ` Arnout Vandecappelle
2017-12-03 18:57 ` daggs
2017-12-03 12:56 ` [Buildroot] [PATCH 5/8] odroidc2: add mainline genimage Dagg Stompler
2017-12-03 12:56 ` [Buildroot] [PATCH 6/8] odoridc2: add mainline post image script Dagg Stompler
2017-12-03 13:31 ` Thomas Petazzoni
2017-12-03 15:54 ` daggs
2017-12-03 16:44 ` Thomas Petazzoni
2017-12-03 18:56 ` daggs
2017-12-03 12:56 ` [Buildroot] [PATCH 7/8] odoridc2: add defconfig for mainline image Dagg Stompler
2017-12-03 13:26 ` Thomas Petazzoni
2017-12-03 16:01 ` daggs
2017-12-03 12:56 ` [Buildroot] [PATCH 8/8] odroidc2: update readme file Dagg Stompler
2017-12-03 13:23 ` Thomas Petazzoni [this message]
2017-12-03 16:03 ` [Buildroot] [PATCH 1/8] meson-tools: New Package daggs
2017-12-03 19:06 ` Baruch Siach
2017-12-03 19:38 ` daggs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171203142348.1766c013@windsurf.lan \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.