mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] host-imx-cst: override get stage
@ 2025-03-24  7:28 r.czerwinski
  2025-03-24  7:28 ` [ptxdist] [PATCH 2/2] host-imx-cst: use bison instead of byacc r.czerwinski
  0 siblings, 1 reply; 2+ messages in thread
From: r.czerwinski @ 2025-03-24  7:28 UTC (permalink / raw)
  To: ptxdist; +Cc: Rouven Czerwinski

From: Rouven Czerwinski <r.czerwinski@pengutronix.de>

Older ptxdist version skipped the download of archives if the archive
already existed. Recent versions no longer do this, explicitly overwrite
the get state to prevent ptxdist complaining about a non-existing URL.

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
---
 rules/host-imx-cst.make | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/rules/host-imx-cst.make b/rules/host-imx-cst.make
index 3850f7200..9712aa4ed 100644
--- a/rules/host-imx-cst.make
+++ b/rules/host-imx-cst.make
@@ -43,6 +43,14 @@ $(HOST_IMX_CST_SOURCE):
 	@echo
 	@exit 1
 
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-imx-cst.get:
+	@$(call targetinfo)
+	@$(call touch)
+
 # ----------------------------------------------------------------------------
 # Prepare
 # ----------------------------------------------------------------------------
-- 
2.48.1




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

* [ptxdist] [PATCH 2/2] host-imx-cst: use bison instead of byacc
  2025-03-24  7:28 [ptxdist] [PATCH 1/2] host-imx-cst: override get stage r.czerwinski
@ 2025-03-24  7:28 ` r.czerwinski
  0 siblings, 0 replies; 2+ messages in thread
From: r.czerwinski @ 2025-03-24  7:28 UTC (permalink / raw)
  To: ptxdist; +Cc: Rouven Czerwinski

From: Rouven Czerwinski <r.czerwinski@pengutronix.de>

Bison is fully compatible to the default byacc tool used by cst. Remove
the byacc dependency by overwriting the correct make variable with bison.

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
---
 rules/host-imx-cst.make | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/rules/host-imx-cst.make b/rules/host-imx-cst.make
index 9712aa4ed..2cabe16fb 100644
--- a/rules/host-imx-cst.make
+++ b/rules/host-imx-cst.make
@@ -68,6 +68,9 @@ HOST_IMX_CST_MAKE_ENV := \
 	$(HOST_ENV) \
 	OPENSSL_PATH="$(PTXDIST_SYSROOT_HOST)/usr/lib/"
 
+HOST_IMX_CST_MAKE_OPT := \
+	YACC=bison
+
 # ----------------------------------------------------------------------------
 # Install
 # ----------------------------------------------------------------------------
-- 
2.48.1




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

end of thread, other threads:[~2025-03-24  7:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-24  7:28 [ptxdist] [PATCH 1/2] host-imx-cst: override get stage r.czerwinski
2025-03-24  7:28 ` [ptxdist] [PATCH 2/2] host-imx-cst: use bison instead of byacc r.czerwinski

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