diff options
author | Diana Z <dzigterman@chromium.org> | 2022-09-02 14:55:10 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-09-06 17:24:51 +0000 |
commit | 3d5561b7f7b53140d7774e1f24529c5274d11c71 (patch) | |
tree | 8e082cb242a9a1c3713a9662e098472a09914d84 /zephyr/projects | |
parent | 3b759644b68495e1fa2a4e2aef86d0b6b07904e2 (diff) | |
download | chrome-ec-3d5561b7f7b53140d7774e1f24529c5274d11c71.tar.gz |
Skyrim: Move all source files to src
Move C files from the base project directory into "src", just as
herobrine does.
BRANCH=None
BUG=b:244457125
TEST=skyrim, winterhold, and morthal build
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: If1242c1065527f2bf69edd321c7422b342684e75
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3872560
Reviewed-by: Robert Zieba <robertzieba@google.com>
Commit-Queue: Robert Zieba <robertzieba@google.com>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Diffstat (limited to 'zephyr/projects')
-rw-r--r-- | zephyr/projects/skyrim/CMakeLists.txt | 16 | ||||
-rw-r--r-- | zephyr/projects/skyrim/src/common.c (renamed from zephyr/projects/skyrim/common.c) | 0 | ||||
-rw-r--r-- | zephyr/projects/skyrim/src/fan.c (renamed from zephyr/projects/skyrim/fan.c) | 0 | ||||
-rw-r--r-- | zephyr/projects/skyrim/src/power_signals.c (renamed from zephyr/projects/skyrim/power_signals.c) | 0 | ||||
-rw-r--r-- | zephyr/projects/skyrim/src/stt.c (renamed from zephyr/projects/skyrim/stt.c) | 0 | ||||
-rw-r--r-- | zephyr/projects/skyrim/src/usb_pd_policy.c (renamed from zephyr/projects/skyrim/usb_pd_policy.c) | 0 | ||||
-rw-r--r-- | zephyr/projects/skyrim/src/usbc_config.c (renamed from zephyr/projects/skyrim/usbc_config.c) | 0 |
7 files changed, 8 insertions, 8 deletions
diff --git a/zephyr/projects/skyrim/CMakeLists.txt b/zephyr/projects/skyrim/CMakeLists.txt index 5d42a3e7c8..5a05fff8aa 100644 --- a/zephyr/projects/skyrim/CMakeLists.txt +++ b/zephyr/projects/skyrim/CMakeLists.txt @@ -6,21 +6,21 @@ cmake_minimum_required(VERSION 3.13.1) find_package(Zephyr REQUIRED HINTS "${ZEPHYR_BASE}") -zephyr_library_sources("common.c") -zephyr_library_sources("power_signals.c") +zephyr_library_sources("src/common.c") +zephyr_library_sources("src/power_signals.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USBC - "usb_pd_policy.c") + "src/usb_pd_policy.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_LED_COMMON - "led.c") + "src/led.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_AMD_STT - "stt.c") -zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_FAN "fan.c") + "src/stt.c") +zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_FAN "src/fan.c") if(DEFINED CONFIG_BOARD_MORTHAL) project(morthal) zephyr_library_sources( - "usbc_config.c" + "src/usbc_config.c" ) endif() @@ -30,7 +30,7 @@ if(DEFINED CONFIG_BOARD_SKYRIM) zephyr_library_sources( "src/skyrim/form_factor.c" "src/skyrim/alt_charger.c" - "usbc_config.c" + "src/usbc_config.c" ) endif() diff --git a/zephyr/projects/skyrim/common.c b/zephyr/projects/skyrim/src/common.c index 5a0e03a665..5a0e03a665 100644 --- a/zephyr/projects/skyrim/common.c +++ b/zephyr/projects/skyrim/src/common.c diff --git a/zephyr/projects/skyrim/fan.c b/zephyr/projects/skyrim/src/fan.c index 71896420da..71896420da 100644 --- a/zephyr/projects/skyrim/fan.c +++ b/zephyr/projects/skyrim/src/fan.c diff --git a/zephyr/projects/skyrim/power_signals.c b/zephyr/projects/skyrim/src/power_signals.c index ec0364519e..ec0364519e 100644 --- a/zephyr/projects/skyrim/power_signals.c +++ b/zephyr/projects/skyrim/src/power_signals.c diff --git a/zephyr/projects/skyrim/stt.c b/zephyr/projects/skyrim/src/stt.c index e78e712737..e78e712737 100644 --- a/zephyr/projects/skyrim/stt.c +++ b/zephyr/projects/skyrim/src/stt.c diff --git a/zephyr/projects/skyrim/usb_pd_policy.c b/zephyr/projects/skyrim/src/usb_pd_policy.c index 1d6457278a..1d6457278a 100644 --- a/zephyr/projects/skyrim/usb_pd_policy.c +++ b/zephyr/projects/skyrim/src/usb_pd_policy.c diff --git a/zephyr/projects/skyrim/usbc_config.c b/zephyr/projects/skyrim/src/usbc_config.c index b3b26f653d..b3b26f653d 100644 --- a/zephyr/projects/skyrim/usbc_config.c +++ b/zephyr/projects/skyrim/src/usbc_config.c |