diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-08 12:52:30 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-12-20 11:22:26 +0100 |
commit | f5a38adb85feafb92b6580d5c08260c3e525919c (patch) | |
tree | f6dbc8836aa114ef9a3dd01cb95fbe9f559ffad2 | |
parent | Always enable IPv6 (diff) | |
download | rtems-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-- | Makefile | 1 | ||||
-rw-r--r-- | config.inc | 12 | ||||
-rwxr-xr-x | freebsd-to-rtems.py | 1 |
3 files changed, 11 insertions, 3 deletions
@@ -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 @@ -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' \ |