DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH] ptxconfig: build and use development packages
@ 2018-12-12  0:33 Roland Hieber
  2018-12-12 17:40 ` Robert Schwebel
  0 siblings, 1 reply; 4+ messages in thread
From: Roland Hieber @ 2018-12-12  0:33 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

From: Roland Hieber <rohieb@rohieb.name>

When building all platforms, the host tools are also built multiple
times. Since all platforms use the same versions and config hashes for
the host tools, we can simply build one platform first, then copy
platform-dir/packages/host-*dev.tar.gz into ./devpkgs/, and future
builds will only need to extract the already built host-* packages from
there instead of rebuilding everything again.

Signed-off-by: Roland Hieber <rohieb@rohieb.name>
---
Although I don't know why this is in ptxconfig instead of ptxdist setup...
---
 configs/ptxconfig | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/configs/ptxconfig b/configs/ptxconfig
index f485c01..4efeeeb 100644
--- a/configs/ptxconfig
+++ b/configs/ptxconfig
@@ -30,8 +30,10 @@ PTXCONF_PROJECT_VERSION="-${PTXDIST_BSP_AUTOVERSION}"
 #
 # ------------------------------------
 #
-# PTXCONF_PROJECT_CREATE_DEVPKGS is not set
-# PTXCONF_PROJECT_USE_DEVPKGS is not set
+PTXCONF_PROJECT_CREATE_DEVPKGS=y
+PTXCONF_PROJECT_USE_DEVPKGS=y
+PTXCONF_PROJECT_DEVPKGDIR="${PTXDIST_WORKSPACE}/devpkgs/"
+PTXCONF_PROJECT_DEVMIRROR=""
 
 #
 # ------------------------------------
-- 
2.19.2



_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

end of thread, other threads:[~2018-12-17 10:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-12  0:33 [DistroKit] [PATCH] ptxconfig: build and use development packages Roland Hieber
2018-12-12 17:40 ` Robert Schwebel
2018-12-17  9:03   ` Robert Schwebel
2018-12-17 10:03     ` Roland Hieber

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