Clone this repo:
  1. 3a01eff rules_cros_firmware: Move ec bazel deps by Jon Murphy · 4 weeks ago firmware-R131-16062.B main release-R131-16063.B stabilize-16055.B stabilize-starline-16056.B
  2. e344747 cros_firmware: Drop "nonhermetic" package by Jack Rosenthal · 3 months ago firmware-R129-16001.B firmware-R130-16032.B release-R129-16002.B release-R130-16033.B stabilize-16002.44.B
  3. 8630148 deps: drop cr50-utils:deps.bzl by Jack Rosenthal · 3 months ago firmware-ti50-mp-15980.B firmware-ti50-prepvt-15974.B
  4. 186921f deps: Update comment about where ti50-sdk is built by Jack Rosenthal · 3 months ago
  5. 3be12bc cros_firmware: Add rule to fetch coreboot-sdk subtools by Jack Rosenthal · 3 months ago

rules_cros_firmware

This repository contains Bazel rules for building AP and EC firmware. It's the core build logic for the Firmware SDK project.

Getting Started

At the moment, we have a separate repo manifest in this repository (see default.xml). This will change in the future, and is only for early experimentation.

To setup the checkout:

$ mkdir ~/fwsdk
$ cd ~/fwsdk
$ repo init -u https://chromium.googlesource.com/chromiumos/platform/rules_cros_firmware
$ repo sync

Formatting files

All files should be formatted using cros format. Pre-upload checks should validate you did this.

Submitting changes

At the moment, we do not have CI setup in this repository, and it's not part of the main ChromeOS build, so changes should be chumped.

At a later point we'll have some CI going.