mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-13 08:59: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
|
||||
|
||||
RTEMS_MAKEFILE_PATH = $(PREFIX)/$(TARGET)/$(BSP)
|
||||
include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
|
||||
include $(RTEMS_CUSTOM)
|
||||
include $(PROJECT_ROOT)/make/leaf.cfg
|
||||
|
12
config.inc
12
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
|
||||
|
@ -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' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user