summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-08 12:52:30 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-12-20 11:22:26 +0100
commitf5a38adb85feafb92b6580d5c08260c3e525919c (patch)
treef6dbc8836aa114ef9a3dd01cb95fbe9f559ffad2
parentAlways enable IPv6 (diff)
downloadrtems-libbsd-f5a38adb85feafb92b6580d5c08260c3e525919c.tar.bz2
Simplify config.inc and use new reference BSP
Use arm/realview_pbx_a9_qemu as the new reference BSP. This BSP offeres NULL pointer read/write protection and runs on the Qemu simulator. With this BSP it is possible to run network tests which use a virtual network based on TAP devices.
-rw-r--r--Makefile1
-rw-r--r--config.inc12
-rwxr-xr-xfreebsd-to-rtems.py1
3 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c0497ec4..dbe487bf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
include config.inc
+RTEMS_MAKEFILE_PATH = $(PREFIX)/$(TARGET)/$(BSP)
include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
include $(RTEMS_CUSTOM)
include $(PROJECT_ROOT)/make/leaf.cfg
diff --git a/config.inc b/config.inc
index 472a9062..d3969102 100644
--- a/config.inc
+++ b/config.inc
@@ -1,6 +1,12 @@
-BSP = jmr3904
-RTEMS_MAKEFILE_PATH = ${HOME}/newbsd/bsp-install/mips-rtems4.11/$(BSP)
-INSTALL_BASE = ${HOME}/newbsd/install
+# Mandatory: Select your BSP and installation prefix
+TARGET = arm-rtems4.11
+BSP = realview_pbx_a9_qemu
+PREFIX = /opt/rtems-4.11
+
+# Optional: Separate installation base directory
+INSTALL_BASE = $(PREFIX)
+
+# Optional: Network test configuration
TEST_RUNNER = $(BSP)
NET_CFG_SELF_IP = 10.0.2.1
NET_CFG_NETMASK = 255.255.0.0
diff --git a/freebsd-to-rtems.py b/freebsd-to-rtems.py
index 92e8531f..ae2ed090 100755
--- a/freebsd-to-rtems.py
+++ b/freebsd-to-rtems.py
@@ -406,6 +406,7 @@ class ModuleManager:
global tempFile
data = 'include config.inc\n' \
'\n' \
+ 'RTEMS_MAKEFILE_PATH = $(PREFIX)/$(TARGET)/$(BSP)\n' \
'include $(RTEMS_MAKEFILE_PATH)/Makefile.inc\n' \
'include $(RTEMS_CUSTOM)\n' \
'include $(PROJECT_ROOT)/make/leaf.cfg\n' \