On Sun, 5 Oct 2014, Luca Olivetti wrote:
> El 05/10/14 12:25, Robert P. J. Day ha escrit:
> >
> > a couple more simple (and quite possibly dumb) questions, if i might
> > ... built a new squashfs image for my TL-MR3220 based on the config
> > file at the downloads page:
> >
> > https://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/
> >
> > built fine, haven't flashed yet but ...
> >
> > first, is there a make target to build just the squashfs image? the
> > default config file for ar71xx selects piles of packages to be built
> > with "=m", but for speed, i'd rather avoid doing all that compiling
> > right now.
>
> I'd like to know the answer to that too
>
> >
> > i've seen the wiki entry as to how to hack the .config file to turn
> > off all those "unnecessary" packages:
> >
> > http://wiki.openwrt.org/doc/howto/easy.build?s[]=disable&s[]=perl#disable.unnecessary.packages
> >
> > but that seems like overkill. is there a specific make target for just
> > the flashable image?
>
> Not only overkill but wrong:
>
> 1) there are some packages built with m that will be included in the
> image based on the CONFIG_DEFAULT_package setting. If you just
> remove the package with the shotgun approach of that script a
> possibly required package could be missing from the image (I know
> since I lost network connectivity due to a missing swconfig
> package)
i see what you mean ... if i start with a .config that contains,
say:
CONFIG_DEFAULT_fred=y
...
CONFIG_PACKAGE_fred=m
then i manually change that second line to:
CONFIG_PACKAGE_fred=n
it will, of course, override the default setting and not be included.
one could get more clever with the hack, but a simpler solution is
just having a make target that builds the image only, so hacks like
this are unnecessary.
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