planning on trying a few openwrt builds later today so would like to
make sure i'm not wasting any disk space or net bandwidth that i don't
have to.

  first, theoretically, i can work with the current contents of the
openwrt git repo (which is what i normally prefer) for all my targets
and architectures, yes? i'm quite prepared for bleeding-edge breakage,
so that's not a problem. and depending on the target or arch, i don't
need to pull in any specific remotes, do i? so i'm assuming a single
"git clone" from git.openwrt.org should suffice for whatever target i
select, correct?

  next, if i start with an absolutely fresh clone, i don't need any
network access to simply *configure*, do i? i just shut down
networking, used config.ramips_mt7620a as the basis for my
configuration, and everything seemed to configure properly -- got all
the package and target files created under tmp/. so i'm concluding
that configuration can be done just with all the target and package
metadata contained in the openwrt checkout.

  next, since i will probably want to do more than one configuration
and build, can i do an "out of tree" build with openwrt so i can share
the single source tree? i checked the advanced config and build
options but didn't see that as a possibility, although i'm perfectly
willing to believe i just missed it.

  (note: i can see that the variable BUILD_DIR_BASE is used as the
basis for the output directories, but that doesn't seem configurable
within the menuconfig system -- can it simply be set as an environment
variable?)

  next, since i want to keep all downloads out of the source tree, i
recall reading that i can simply create an initial symlink called "dl"
to whatever out-of-tree directory i want to use. is this exactly
equivalent to selecting CONFIG_DOWNLOAD_FOLDER during configuration?
it seems to be, just want to make sure.

  and about the downloads, i see under "Advanced configuration" that i
can select both a download folder *and* a local source package mirror.
can these be the same directory? naturally, i want to avoid any
unnecessary downloads so i want to keep all those downloads elsewhere
and reuse source packages across multiple builds. (i even have an
extensive directory of source tarballs for my openembedded builds, i
assume i can use those as well as long as the versions match exactly.)

  i can see (unsurprisingly) that the same toolchain is used for
ramips/mt7620{a,n}, and i've already downloaded it, so i'm assuming i
can just configure and point at that external toolchain to avoid all
that toolchain downloading and building, yes?

  that should do it for now ... off to do some configuring and
building.

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

Reply via email to