summaryrefslogtreecommitdiffstats
path: root/chromium/docs/website/site/chromium-os/build/sdk-config-management/index.md
blob: ee02457f6754ea6afbb4c7e5e226f454cc21190d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
breadcrumbs:
- - /chromium-os
  - Chromium OS
- - /chromium-os/build
  - Chromium OS Build
page_name: sdk-config-management
title: SDK Config Management
---

## SDK Config Files Overview

Portage and Chromite libraries use various make.conf files to store and retrieve
SDK configurations.

*   `/etc/make.conf`
    *   symlinked to
        [src/third_party/chromiumos-overlay/chromeos/config/make.conf.amd64-host](https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/main/chromeos/config/make.conf.amd64-host)
    *   Overall make.conf for the SDK “board.”
    *   Sources the other `make.conf.*` files to pull in additional config.
    *   Treated by
        [sysroot_lib](https://chromium.googlesource.com/chromiumos/chromite/+/HEAD/lib/sysroot_lib.py)
        in Chromite as the source to read configuration from as it contains the
        full picture.
*   `/etc/make.conf.board_setup`
    *   Generated by `cros_sysroot_utils` with references to amd64-host sysroot
        removed.
    *   Declares `BOARD_OVERLAY` and `CHOST`.
    *   Treated by
        [sysroot_lib](https://chromium.googlesource.com/chromiumos/chromite/+/HEAD/lib/sysroot_lib.py)
        as where to write additional configuration.
*   `/etc/make.conf.host_setup`
    *   Created by
        [update_chroot](https://chromium.googlesource.com/chromiumos/platform/crosutils/+/HEAD/update_chroot)
        each time the SDK is updated.