i want to summarize the various ways to speed up a build from scratch using content that's already on my system, so let me ask about the first few possibilities. i'm doing this in the context of building for ramips/mt7620a, so i'm looking at the content here:
https://downloads.openwrt.org/barrier_breaker/14.07-rc3/ramips/mt7620a/ * SDK * toolchain * image builder but most of this should be applicable elsewhere. and i'm reading the short section here: http://wiki.openwrt.org/doc/faq/development#how.can.i.speed.up.build.process first, related to tarballs and setting up a local mirror, i can see the advanced config option "Local mirror for source packages", which i assume can be set to a directory containing source tarballs that any openwrt build can take advantage of as long as the package name and version match exactly, correct? more to the point, i already have a considerable collection of source tarballs from my work with openembedded, so would there be any issue with using that directory for an openwrt local mirror? for instance, i can see that my current openwrt build downloaded the quilt tarball "quilt-0.63.tar.gz", while my OE tarballs directory *also* has a file with *exactly* that name, so would that OE tarball be used rather than downloading if i used the OE dir as my local mirror for openwrt? that way, i can have a single, massive directory of source tarballs i can share between OE and openwrt. side note: i'm sure i can dig through the source for this, but what if the local mirror had the correct tarball, but compressed into a different format like .xz -- would openwrt still use it? and the second speedup i'll ask about here should be easy -- just using the downloadable toolchain rather than building one. i can see the toolchain here: https://downloads.openwrt.org/barrier_breaker/14.07-rc3/ramips/mt7620a/ so i'm assuming i can just unload that somewhere on my system, then set the configuration options "Use external toolchain" and point at it, yes? and that should save *considerable* time. i have other speedup questions but i'll do a little research first. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
