I'm building for multiple ar71xx devices at once, but not all can manage the same feature set (flash, RAM constraints etc.). So I'd like to repackage the images after compiling - since I only need one compile run that way, but can produce images that include different packages. That's what the image generator is for.
Now, when I look inside the image generator's tarball, all those scripts and directories in there are also present in a full buildroot, so I figured I'd try the make image PROFILE=xxx command from within the buildroot, but that fails:
$ make image PROFILE=wndr3700 PACKAGES="luci-ssl" V=s
make[1]: *** No rule to make target 'image'. Stop.
The image generator is intended for standalone use, but it essentially replicates the final stages of the buildroot, if I'm not mistaken.
So - is there a way to repackage the images without it, in a fully functional buildroot? I suppose there is one, since the buildroot generates those images - so how can I re-run that manually?
Thanks!