mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Add support for Pascal P-Code interpreter
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@511 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -288,5 +288,6 @@
|
|||||||
* Changes for use with SDCC compiler
|
* Changes for use with SDCC compiler
|
||||||
* Added a simulated z80 target
|
* Added a simulated z80 target
|
||||||
* Fix deadlock errors when using stdio but with no buffering
|
* Fix deadlock errors when using stdio but with no buffering
|
||||||
|
* Add support for Pascal P-Code interpreter
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -726,6 +726,7 @@ Other memory:
|
|||||||
* Changes for use with SDCC compiler
|
* Changes for use with SDCC compiler
|
||||||
* Added a simulated z80 target
|
* Added a simulated z80 target
|
||||||
* Fix deadlock errors when using stdio but with no buffering
|
* Fix deadlock errors when using stdio but with no buffering
|
||||||
|
* Add support for Pascal P-Code interpreter
|
||||||
</pre></ul>
|
</pre></ul>
|
||||||
|
|
||||||
<table width ="100%">
|
<table width ="100%">
|
||||||
|
|||||||
@@ -44,11 +44,16 @@ ARCH_SRC = $(ARCH_DIR)/src
|
|||||||
ARCH_INC = $(ARCH_DIR)/include
|
ARCH_INC = $(ARCH_DIR)/include
|
||||||
BOARD_DIR = configs/$(CONFIG_ARCH_BOARD)
|
BOARD_DIR = configs/$(CONFIG_ARCH_BOARD)
|
||||||
|
|
||||||
|
# Add-on directories. These may or may not be in place in the
|
||||||
|
# NuttX source tree (they must be specifically installed)
|
||||||
|
|
||||||
|
PCODE_DIR := `if [ -r pcode/Makefile ]; then echo "pcode"; fi`
|
||||||
|
|
||||||
# FSDIRS depend on file descriptor support; NONFSDIRS do not
|
# FSDIRS depend on file descriptor support; NONFSDIRS do not
|
||||||
# (except for parts of FSDIRS). We will exclude FSDIRS
|
# (except for parts of FSDIRS). We will exclude FSDIRS
|
||||||
# from the build if file descriptor support is disabled
|
# from the build if file descriptor support is disabled
|
||||||
|
|
||||||
NONFSDIRS = sched lib $(ARCH_SRC) mm examples/$(CONFIG_EXAMPLE)
|
NONFSDIRS = sched lib $(ARCH_SRC) mm examples/$(CONFIG_EXAMPLE) $(PCODE_DIR)
|
||||||
FSDIRS = fs drivers
|
FSDIRS = fs drivers
|
||||||
|
|
||||||
ifeq ($(CONFIG_NET),y)
|
ifeq ($(CONFIG_NET),y)
|
||||||
@@ -96,6 +101,10 @@ else
|
|||||||
LINKLIBS += fs/libfs$(LIBEXT) drivers/libdrivers$(LIBEXT)
|
LINKLIBS += fs/libfs$(LIBEXT) drivers/libdrivers$(LIBEXT)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(PCODE_DIR),)
|
||||||
|
LINKLIBS += pcode/libpcode$(LIBEXT)
|
||||||
|
endif
|
||||||
|
|
||||||
# This is the name of the final target
|
# This is the name of the final target
|
||||||
BIN = nuttx$(EXEEXT)
|
BIN = nuttx$(EXEEXT)
|
||||||
|
|
||||||
@@ -217,6 +226,9 @@ fs/libfs$(LIBEXT): context
|
|||||||
drivers/libdrivers$(LIBEXT): context
|
drivers/libdrivers$(LIBEXT): context
|
||||||
$(MAKE) -C drivers TOPDIR=$(TOPDIR) libdrivers$(LIBEXT)
|
$(MAKE) -C drivers TOPDIR=$(TOPDIR) libdrivers$(LIBEXT)
|
||||||
|
|
||||||
|
pcode/libpcode$(LIBEXT): context
|
||||||
|
$(MAKE) -C pcode TOPDIR=$(TOPDIR) libpcode$(LIBEXT)
|
||||||
|
|
||||||
examples/$(CONFIG_EXAMPLE)/lib$(CONFIG_EXAMPLE)$(LIBEXT): context
|
examples/$(CONFIG_EXAMPLE)/lib$(CONFIG_EXAMPLE)$(LIBEXT): context
|
||||||
$(MAKE) -C examples/$(CONFIG_EXAMPLE) TOPDIR=$(TOPDIR) lib$(CONFIG_EXAMPLE)$(LIBEXT)
|
$(MAKE) -C examples/$(CONFIG_EXAMPLE) TOPDIR=$(TOPDIR) lib$(CONFIG_EXAMPLE)$(LIBEXT)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user