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) 2) the selection of various CONFIG_PACKAGE_kmod could result in a different kernel than the one included in the stock distribution, hence making it impossible to install further kmod packages from the distribution repository What I did is something like the above script but leaving all CONFIG_PACKAGE_kmod as they came in the default config and changing to y all packages that were also defined as CONFIG_DEFAULT A boring and error-prone approach. Bye -- Luca _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
