libremesh / lime-sdk

LibreMesh software development kit
http://libremesh.org/
GNU General Public License v3.0
50 stars 36 forks source link

Build a single package #11

Closed nicopace closed 7 years ago

nicopace commented 7 years ago

As a package developer I need to be able to run the compilation step of my package many times and as fast as possible. Right now, with the lime-sdk I need to wait for all the image to build... this can take ~1 minute, while building the package directly using openwrt-sdk takes 2 seconds. Would be great to bypass the building of all but one package, and then optionally be able to create an image with that new packge. Some conversation about this topic here: https://github.com/libremesh/lime-sdk/commit/f53d7386430b64eb7529562b0471c707412666dd#commitcomment-22994952

p4u commented 7 years ago

Added on commit: https://github.com/libremesh/lime-sdk/commit/127b9cdc10dc8076cd01504e2332031646bd3429

Example: ./cooker -b ar71xx/generic --package=lime-proto-bmx7

nicopace commented 7 years ago

It is telling me this:

nicopace@nicopc:~/projects/redlibre/altermundi/librestack/lime-sdk$ J=1 V=s ./cooker -b ar71xx/generic --package=fft-eval
...
/home/nicopace/projects/redlibre/altermundi/librestack/lime-sdk/lede/ar71xx/generic/sdk/include/toplevel.mk:200: recipe for target 'package/fft-eval/install' failed
make: *** [package/fft-eval/install] Error 2
make: Leaving directory '/home/nicopace/projects/redlibre/altermundi/librestack/lime-sdk/lede/ar71xx/generic/sdk'
-> Build error, see full output using V=s J=1 ./cooker <options>

And I've run it with V=s and J=1

ilario commented 7 years ago

I think this is solved, is it right?

nicopace commented 7 years ago

yes... thanks