Hi Philip, On Friday 09 April 2010 07:10:22 Philip A. Prindeville wrote: > I'm trying to bring up the net5501 and having some success, but since > I've just been using the project since Sunday I'm a bit at the bottom of > the learning curve. > > I was wondering if there was a cheat-sheet on how to build common > targets that might assist in doing a partial rebuild, etc.
The snapshot documentation provides some insights on how to do this, not much I am afraid. > > Here are some targets that would be useful to have: > > * print the value of a Make variable > > * rebuild the .config file rm -r tmp .config; make will do it. > > * nuke the necessary directories prior to a kernel rebuild, following a > change to config-default or target.mk for a target or subtarget > > * rebuild modules following changing the $(DEFAULT_PACKAGES) value in a > target.mk > > * rebuild the image (ext2, squashfs, jffs, etc) following rebuilding the > kernel or any targets This can be achieved by make target/linux/install. Even though it recompiles the kernel and regenerates the rootfs in a single command. > > * also, is there a hook I can define to run a script that (for instance) > runs sed on various files in /etc/config before publishing an image > (i.e. before openwrt-x86-ext2.image.gz gets mksquashfs'd or whatever)... No, but this should be useful. > > After I get this platform solid, I've got a few more I'd like to bring up. > > Thanks, _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
