[umon commit] some hooks to help building in RSB

Ben Gras beng at rtems.org
Tue Jun 21 21:40:54 UTC 2016


Module:    umon
Branch:    master
Commit:    ecb72ce1ea8d80e69244a1c29b8229f969d20dc0
Changeset: http://git.rtems.org/umon/commit/?id=ecb72ce1ea8d80e69244a1c29b8229f969d20dc0

Author:    Ben Gras <beng at shrike-systems.com>
Date:      Thu Jun 16 11:39:25 2016 +0200

some hooks to help building in RSB

---

 ports/beagleboneblack/Makefile | 17 +++++++++++++++--
 ports/beagleboneblack/README   |  6 ++++++
 2 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/ports/beagleboneblack/Makefile b/ports/beagleboneblack/Makefile
index b90fffb..e0676b1 100644
--- a/ports/beagleboneblack/Makefile
+++ b/ports/beagleboneblack/Makefile
@@ -3,6 +3,19 @@
 # Beaglebone Black makefile
 #
 #
+
+ifeq ($(UMONTOP),)
+$(error UMONTOP not set)
+endif
+
+ifeq ($(RTEMSPREFIX),)
+$(error RTEMSPREFIX not set)
+endif
+
+ifeq ($(RTEMSVERSION),)
+$(error RTEMSVERSION not set)
+endif
+
 PLATFORM		= BEAGLEBONEBLACK
 TOPDIR			= $(UMONTOP)
 TGTDIR			= beagleboneblack
@@ -14,8 +27,8 @@ ifeq ($(TOOLSET),RTEMS)
 #
 # Using tools built by RTEMS Source Builder:
 #
-ABIDIR          = $(HOME)/development/rtems/4.11/lib/gcc/arm-rtems4.11/4.9.2
-TOOL_PREFIX     = arm-rtems4.11
+ABIDIR          = $(RTEMSPREFIX)/lib/gcc/arm-rtems$(RTEMSVERSION)/4.9.2
+TOOL_PREFIX     = arm-rtems$(RTEMSVERSION)
 else
 #
 # Using tools installed by "sudo apt-get install gcc-arm-none-eabi"...
diff --git a/ports/beagleboneblack/README b/ports/beagleboneblack/README
index eef57b3..01a519d 100644
--- a/ports/beagleboneblack/README
+++ b/ports/beagleboneblack/README
@@ -1,6 +1,12 @@
 Getting Started with uMon for the Beaglebone Black
 
 =======================================================================
+Building:
+=======================================================================
+From umon/ports/beagleboneblack:
+$ make TOOLSET=RTEMS RTEMSVERSION=4.12 RTEMSPREFIX=$HOME/development/rtems/4.12 UMONTOP=$HOME/development/umon/main 
+
+=======================================================================
 Booting:
 =======================================================================
 



More information about the vc mailing list