summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Gras <beng@shrike-systems.com>2016-06-16 11:39:25 +0200
committerBen Gras <beng@shrike-systems.com>2016-06-20 03:18:11 +0200
commitecb72ce1ea8d80e69244a1c29b8229f969d20dc0 (patch)
tree56ff2e5e129acbb589f36f5cb82dbe9cbcbc530b
parentc9008213baa2afbfde683f3926b2a63dced6e5a4 (diff)
downloadumon-ecb72ce1ea8d80e69244a1c29b8229f969d20dc0.tar.bz2
some hooks to help building in RSB
-rw-r--r--ports/beagleboneblack/Makefile17
-rw-r--r--ports/beagleboneblack/README6
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:
=======================================================================