[Buildroot] [PATCH] package/mbedtls: use pre-configure, not post-patch, hooks to configure
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sun Sep 18 10:20:45 UTC 2022
On Sun, 28 Aug 2022 21:54:45 +0200
"Yann E. MORIN" <yann.morin.1998 at free.fr> wrote:
> Currently, we use post-patch hooks to apply our configuration settings.
> This works, but this is semantically wrong; post-patch hooks are there
> to amend the source code to actually fix it (i.e. because it can't be
> done with a patch for example).
>
> Configuring the package, on the other hand, belong to the configure
> step, and if we need to tweak the source code for configuration
> purposes, this should be done in pre-configure hooks.
>
> Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
> Cc: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
> package/mbedtls/mbedtls.mk | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list