summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Peress <peress@chromium.org>2021-06-17 11:43:32 -0600
committerCommit Bot <commit-bot@chromium.org>2021-06-17 23:26:24 +0000
commitb2040ed78b24b1175744e7f8201ab1fe591e852a (patch)
tree65ed11809fbcd67a1acb3b8236aea2a302c89dd9
parent50b839d7e64fcb3066245e9b05eee6fbc88c0bd5 (diff)
downloadchrome-ec-b2040ed78b24b1175744e7f8201ab1fe591e852a.tar.gz
zmake: update NPCX_IMAGE_FILE name to match zephyr 2.6
In Zephyr v2.6 we no longer have the option of setting the output file name. Set it to match so projects can build with either 2.5 or 2.6 BRANCH=none BUG=b:190731415 TEST=build projects with 2.5 and 2.6 Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: I3637e832eeac43e497f31dd1bf60bcd525b4497c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2970985 Reviewed-by: Denis Brockus <dbrockus@chromium.org>
-rw-r--r--zephyr/projects/brya/boards/arm/brya/board.cmake2
-rw-r--r--zephyr/projects/kohaku/boards/arm/kohaku/board.cmake2
-rw-r--r--zephyr/projects/trogdor/boards/arm/trogdor/board.cmake2
-rw-r--r--zephyr/projects/volteer/boards/arm/volteer/board.cmake2
-rw-r--r--zephyr/zmake/zmake/output_packers.py4
5 files changed, 6 insertions, 6 deletions
diff --git a/zephyr/projects/brya/boards/arm/brya/board.cmake b/zephyr/projects/brya/boards/arm/brya/board.cmake
index 19469c1ca4..67ade59f57 100644
--- a/zephyr/projects/brya/boards/arm/brya/board.cmake
+++ b/zephyr/projects/brya/boards/arm/brya/board.cmake
@@ -2,5 +2,5 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-set(NPCX_IMAGE_FILE ${PROJECT_BINARY_DIR}/zephyr.packed.bin)
+set(NPCX_IMAGE_FILE ${PROJECT_BINARY_DIR}/zephyr.npcx.bin)
diff --git a/zephyr/projects/kohaku/boards/arm/kohaku/board.cmake b/zephyr/projects/kohaku/boards/arm/kohaku/board.cmake
index fd6fcd0656..a204305534 100644
--- a/zephyr/projects/kohaku/boards/arm/kohaku/board.cmake
+++ b/zephyr/projects/kohaku/boards/arm/kohaku/board.cmake
@@ -2,4 +2,4 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-set(NPCX_IMAGE_FILE ${PROJECT_BINARY_DIR}/zephyr.packed.bin)
+set(NPCX_IMAGE_FILE ${PROJECT_BINARY_DIR}/zephyr.npcx.bin)
diff --git a/zephyr/projects/trogdor/boards/arm/trogdor/board.cmake b/zephyr/projects/trogdor/boards/arm/trogdor/board.cmake
index fd6fcd0656..a204305534 100644
--- a/zephyr/projects/trogdor/boards/arm/trogdor/board.cmake
+++ b/zephyr/projects/trogdor/boards/arm/trogdor/board.cmake
@@ -2,4 +2,4 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-set(NPCX_IMAGE_FILE ${PROJECT_BINARY_DIR}/zephyr.packed.bin)
+set(NPCX_IMAGE_FILE ${PROJECT_BINARY_DIR}/zephyr.npcx.bin)
diff --git a/zephyr/projects/volteer/boards/arm/volteer/board.cmake b/zephyr/projects/volteer/boards/arm/volteer/board.cmake
index b58a705122..e29e12278d 100644
--- a/zephyr/projects/volteer/boards/arm/volteer/board.cmake
+++ b/zephyr/projects/volteer/boards/arm/volteer/board.cmake
@@ -1,3 +1,3 @@
# SPDX-License-Identifier: Apache-2.0
-set(NPCX_IMAGE_FILE ${PROJECT_BINARY_DIR}/zephyr.packed.bin)
+set(NPCX_IMAGE_FILE ${PROJECT_BINARY_DIR}/zephyr.npcx.bin)
diff --git a/zephyr/zmake/zmake/output_packers.py b/zephyr/zmake/zmake/output_packers.py
index 1e09e9d580..478eb4c24d 100644
--- a/zephyr/zmake/zmake/output_packers.py
+++ b/zephyr/zmake/zmake/output_packers.py
@@ -104,7 +104,7 @@ class NpcxPacker(BasePacker):
"""Packer for RO/RW image to generate a .bin build using FMAP.
This expects that the build is setup to generate a
- zephyr.packed.bin for the RO image, which should be packed using
+ zephyr.npcx.bin for the RO image, which should be packed using
Nuvoton's loader format.
"""
def __init__(self, project):
@@ -137,7 +137,7 @@ class NpcxPacker(BasePacker):
# Copy the inputs into the work directory so that Binman can
# find them under a hard-coded name.
- shutil.copy2(ro / 'zephyr' / 'zephyr.packed.bin',
+ shutil.copy2(ro / 'zephyr' / 'zephyr.npcx.bin',
work_dir / 'zephyr_ro.bin')
shutil.copy2(rw / 'zephyr' / 'zephyr.bin', work_dir / 'zephyr_rw.bin')