Package the SDK of every platform into the sdk-core tree the pebble
tool installs.
pbl sdk 4.44
pbl sdk 4.44 --frozen ../sdk-core/pebble --tarball
Where pbl build sdk packages the SDK of the one platform a build is
configured for, this builds each platform from the board sdk/boards.yml
lists for it, in a build directory of its own under build-sdk/, and
puts the results together in build-sdk/sdk-core/. Building the SDK
describes what it is made of.
The frozen platforms get their headers from this checkout. Their
libpebble.a and emulator are the ones they were frozen with, which are
not in this repository: --frozen names a directory holding them as
<platform>/lib/libpebble.a and <platform>/qemu/, such as the pebble/
directory of an earlier SDK. Without it the tree is complete for the other
platforms only.
pbl sdk [-h] [-b DIR] [--dry-run] [--lab FILE] [--watch NAME]
[--wait [SECONDS]] [--board BOARD] [--frozen DIR] [--tarball]
VERSION
VERSIONVersion of the SDK, e.g. 4.44
--board BOARDBoard to package a platform from; repeat for more (default: the boards of sdk/boards.yml)
--frozen DIRDirectory with the libpebble.a and emulator of the frozen platforms, as <platform>/lib/libpebble.a and <platform>/qemu
--tarballAlso write sdk-core.tar.gz
Generated from PebbleOS 7753e801d. This page is maintained in the pebbleos repository: docs/pbl/sdk.md.