mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-13 15:19:18 +08:00
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.
This commit is contained in:
parent
5315d35d5e
commit
f5a38adb85
1
Makefile
1
Makefile
@ -1,5 +1,6 @@
|
|||||||
include config.inc
|
include config.inc
|
||||||
|
|
||||||
|
RTEMS_MAKEFILE_PATH = $(PREFIX)/$(TARGET)/$(BSP)
|
||||||
include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
|
include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
|
||||||
include $(RTEMS_CUSTOM)
|
include $(RTEMS_CUSTOM)
|
||||||
include $(PROJECT_ROOT)/make/leaf.cfg
|
include $(PROJECT_ROOT)/make/leaf.cfg
|
||||||
|
12
config.inc
12
config.inc
@ -1,6 +1,12 @@
|
|||||||
BSP = jmr3904
|
# Mandatory: Select your BSP and installation prefix
|
||||||
RTEMS_MAKEFILE_PATH = ${HOME}/newbsd/bsp-install/mips-rtems4.11/$(BSP)
|
TARGET = arm-rtems4.11
|
||||||
INSTALL_BASE = ${HOME}/newbsd/install
|
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)
|
TEST_RUNNER = $(BSP)
|
||||||
NET_CFG_SELF_IP = 10.0.2.1
|
NET_CFG_SELF_IP = 10.0.2.1
|
||||||
NET_CFG_NETMASK = 255.255.0.0
|
NET_CFG_NETMASK = 255.255.0.0
|
||||||
|
@ -406,6 +406,7 @@ class ModuleManager:
|
|||||||
global tempFile
|
global tempFile
|
||||||
data = 'include config.inc\n' \
|
data = 'include config.inc\n' \
|
||||||
'\n' \
|
'\n' \
|
||||||
|
'RTEMS_MAKEFILE_PATH = $(PREFIX)/$(TARGET)/$(BSP)\n' \
|
||||||
'include $(RTEMS_MAKEFILE_PATH)/Makefile.inc\n' \
|
'include $(RTEMS_MAKEFILE_PATH)/Makefile.inc\n' \
|
||||||
'include $(RTEMS_CUSTOM)\n' \
|
'include $(RTEMS_CUSTOM)\n' \
|
||||||
'include $(PROJECT_ROOT)/make/leaf.cfg\n' \
|
'include $(PROJECT_ROOT)/make/leaf.cfg\n' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user