diff options
Diffstat (limited to 'ports/beagleboneblack/Makefile')
-rw-r--r-- | ports/beagleboneblack/Makefile | 17 |
1 files changed, 15 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"... |