summaryrefslogtreecommitdiff
path: root/images/Makefile.riscv
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-03-22 14:39:13 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-03-23 12:16:26 +0100
commit22a41fca64e1184ccc954a23bb75e7dc0614670c (patch)
tree7b3ac405ae1825be57428f2fd89504993d04247d /images/Makefile.riscv
parent410544558f35542dbcd07ebf0c8fb09d7e844a93 (diff)
downloadbarebox-22a41fca64e1184ccc954a23bb75e7dc0614670c.tar.gz
RISC-V: erizo: migrate to PBL
We now have everything in place to migrate erizo to PBL. As currently, this is the only board, we can drop all non-PBL support in the same go. Cc: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'images/Makefile.riscv')
-rw-r--r--images/Makefile.riscv12
1 files changed, 12 insertions, 0 deletions
diff --git a/images/Makefile.riscv b/images/Makefile.riscv
new file mode 100644
index 0000000000..463c6ce440
--- /dev/null
+++ b/images/Makefile.riscv
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+quiet_cmd_erizo_nmon_image = MKIMAGE $@
+ cmd_erizo_nmon_image = $(srctree)/scripts/erizo-nmon-image $< $@ || \
+ echo "WARNING: Couldn't create erizo nmon image due to previous errors."
+
+$(obj)/%.nmon: $(obj)/%.img FORCE
+ $(call if_changed,erizo_nmon_image)
+
+pblb-$(CONFIG_BOARD_ERIZO_GENERIC) += start_erizo_generic
+FILE_barebox-erizo-generic.img = start_erizo_generic.pblb
+image-$(CONFIG_BOARD_ERIZO_GENERIC) += barebox-erizo-generic.img barebox-erizo-generic.nmon