Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/picocom: bump to version 2024-07
@ 2024-08-01 12:40 Baruch Siach via buildroot
  2024-08-01 21:06 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Baruch Siach via buildroot @ 2024-08-01 12:40 UTC (permalink / raw)
  To: buildroot; +Cc: Wolfram Sang

This release adds support for no-MMU build.

Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/picocom/picocom.hash | 2 +-
 package/picocom/picocom.mk   | 9 +++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/package/picocom/picocom.hash b/package/picocom/picocom.hash
index 8107f5633a6c..170de09cf463 100644
--- a/package/picocom/picocom.hash
+++ b/package/picocom/picocom.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  107d3e49e502ce63f826525f587826990451bcb39492efe2e0463dd62d64f3ea  picocom-2023-04.tar.gz
+sha256  4379de2ec591a5848123f37ccdbc7fbeee6dd3520ef1ce4119d84202fc268a17  picocom-2024-07.tar.gz
 sha256  9273c6b2c55be95f0f0df292d87e8900e5bfdf5b510a6ea09e80306cf45c10f6  LICENSE.txt
diff --git a/package/picocom/picocom.mk b/package/picocom/picocom.mk
index bb55c3c1d1d3..34c3bfb23069 100644
--- a/package/picocom/picocom.mk
+++ b/package/picocom/picocom.mk
@@ -4,14 +4,19 @@
 #
 ################################################################################
 
-PICOCOM_VERSION = 2023-04
+PICOCOM_VERSION = 2024-07
 PICOCOM_SITE = $(call gitlab,wsakernel,picocom,$(PICOCOM_VERSION))
 PICOCOM_LICENSE = GPL-2.0+
 PICOCOM_LICENSE_FILES = LICENSE.txt
 PICOCOM_CPE_ID_VALID = YES
 
+ifeq ($(BR2_USE_MMU),)
+PICOCOM_CPPFLAGS += -DNO_FORK
+endif
+
 define PICOCOM_BUILD_CMDS
-	$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
+	$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
+		EXTRA_CPPFLAGS='$(PICOCOM_CPPFLAGS)' $(MAKE) -C $(@D)
 endef
 
 define PICOCOM_INSTALL_TARGET_CMDS
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] package/picocom: bump to version 2024-07
  2024-08-01 12:40 [Buildroot] [PATCH] package/picocom: bump to version 2024-07 Baruch Siach via buildroot
@ 2024-08-01 21:06 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-01 21:06 UTC (permalink / raw)
  To: Baruch Siach via buildroot; +Cc: Wolfram Sang

On Thu,  1 Aug 2024 15:40:57 +0300
Baruch Siach via buildroot <buildroot@buildroot.org> wrote:

> This release adds support for no-MMU build.
> 
> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
>  package/picocom/picocom.hash | 2 +-
>  package/picocom/picocom.mk   | 9 +++++++--
>  2 files changed, 8 insertions(+), 3 deletions(-)

I think you had forgotten the change in package/picocom/Config.in to
actually make the package available on !MMU platforms, so I did it when
applying.

>  define PICOCOM_BUILD_CMDS
> -	$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
> +	$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
> +		EXTRA_CPPFLAGS='$(PICOCOM_CPPFLAGS)' $(MAKE) -C $(@D)

Also I changed the single quotes here to double quotes, as we much more
commonly use double quotes.

Thanks a lot, patch applied!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-01 21:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-01 12:40 [Buildroot] [PATCH] package/picocom: bump to version 2024-07 Baruch Siach via buildroot
2024-08-01 21:06 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox