Hi. > 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.
sed -i -e '/=m$/d' .config && make > > 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? You could try "make target/linux/install" but not sure if that enforces compilation of =y packages first. > also, while in "make menuconfig", i noticed under "Global build > settings" the entry "Select all packages by default", but i have no > idea what that means and there's no help info for that. It will select any yet undefined package symbol as =m - this is mostly useful for whole distribution builds - usually used in a way like that: echo CONFIG_<target>=y > .config echo CONFIG_ALL=y >> .config make defconfig > does it mean that even unselected packages will be treated as if > they were selected with "=m"? or what? some help info there would be > handy. It means that package symbols not yet defined in .config will be selected as =m. Stuff already present as "# CONFIG_PACKAGE_foo is not set" will not be promoted to =m. ~ Jow _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
