[MERGED] osmocom-bb[master]: target/firmware: fix Mediatek firmware compilation

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Dec 10 14:20:47 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: target/firmware: fix Mediatek firmware compilation
......................................................................


target/firmware: fix Mediatek firmware compilation

The existing Makefile.mtk isn't compatible with the current
Makefile scheme, so nothing would happen when it was called.

This change updates the Makefile.mtk, so the Mediatek firmware
can be successfully compiled again.

Change-Id: Iecd619ed862f4d825095292ffde50544e647f6ff
---
M src/target/firmware/Makefile.mtk
1 file changed, 6 insertions(+), 4 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/target/firmware/Makefile.mtk b/src/target/firmware/Makefile.mtk
index 30fa2fc..927e31a 100644
--- a/src/target/firmware/Makefile.mtk
+++ b/src/target/firmware/Makefile.mtk
@@ -4,14 +4,16 @@
 # List of all applications (meant to be overridden on command line)
 APPLICATIONS?=loader_mtk
 
-mtkram_LDS=board/mediatek/ram.lds
-mtkram_OBJS=board/mediatek/start.ram.o
+APP_loader_mtk_ENVIRONMENTS=mtkram
+
+ENV_mtkram_LDS=board/mediatek/ram.lds
+ENV_mtkram_OBJS=board/mediatek/start.ram.o
 
 mtk_COMMON_OBJS=board/mediatek/uart.o
 
 # Mediatek MT62xx
-mt62xx_OBJS=$(mtk_COMMON_OBJS) board/mt62xx/init.o
-mt62xx_ENVIRONMENTS=mtkram
+BOARD_mt62xx_OBJS=$(mtk_COMMON_OBJS) board/mt62xx/init.o
+BOARD_mt62xx_ENVIRONMENTS=mtkram
 
 # Global include path
 INCLUDES=-Iinclude/ -I../../../include -I../../shared/libosmocore/include

-- 
To view, visit https://gerrit.osmocom.org/5217
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iecd619ed862f4d825095292ffde50544e647f6ff
Gerrit-PatchSet: 1
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list