---
title: "pbl sdk"
canonical_url: https://developer.repebble.com/pebbleos/docs/pbl/sdk/
last_updated: 2026-11-18
sdk_version: 4.44
---
# pbl sdk

Source: https://developer.repebble.com/pebbleos/docs/pbl/sdk/

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](https://developer.repebble.com/pebbleos/docs/sdk/building.md) 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.

## Options

```
pbl sdk [-h] [-b DIR] [--dry-run] [--lab FILE] [--watch NAME]
        [--wait [SECONDS]] [--board BOARD] [--frozen DIR] [--tarball]
        VERSION
```

`VERSION`

Version of the SDK, e.g. 4.44

`--board BOARD`

Board to package a platform from; repeat for more (default: the boards of sdk/boards.yml)

`--frozen DIR`

Directory with the libpebble.a and emulator of the frozen platforms, as \<platform\>/lib/libpebble.a and \<platform\>/qemu

`--tarball`

Also write sdk-core.tar.gz

Generated from PebbleOS [7753e801d](https://github.com/coredevices/pebbleos/commit/7753e801d93d20f2d37534ce2fa69d9952015237). This page is maintained in the pebbleos repository: [docs/pbl/sdk.md](https://github.com/coredevices/pebbleos/blob/7753e801d93d20f2d37534ce2fa69d9952015237/docs/pbl/sdk.md).
