From 6cece5a803a8df1d488d96f574661a3ffbe1c997 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 10 May 2011 15:50:23 +0000 Subject: [PATCH] Pascal now installs in the apps/ directory git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3583 42af7a65-404d-4744-a932-0658087f49c3 --- ChangeLog | 2 ++ Documentation/NuttX.html | 23 ++++++++++++++++++++-- Makefile | 16 +-------------- configs/sim/pashello/appconfig | 3 +++ configs/xtrs/pashello/appconfig | 4 ++++ configs/z16f2800100zcog/pashello/appconfig | 3 +++ configs/z80sim/pashello/appconfig | 4 ++++ 7 files changed, 38 insertions(+), 17 deletions(-) diff --git a/ChangeLog b/ChangeLog index 69dc8fc1e4..1d696e6f44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1733,3 +1733,5 @@ * configs/pcblogic-pic32mx: Add directory structure for PCB Logic PIC32MX board * apps/include: Move include/apps to apps/include. A symbolic link is created at build time + * Makefile: Removed support for Pascal pcode interpreter. Support for that + interpreter has been moved to apps/interpreter/Makefile. diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html index 4d5691b082..391849996b 100644 --- a/Documentation/NuttX.html +++ b/Documentation/NuttX.html @@ -8,7 +8,7 @@

NuttX RTOS

-

Last Updated: May 6, 2011

+

Last Updated: May 10, 2011

@@ -2189,9 +2189,28 @@ buildroot-1.10 2011-05-06 <spudmonkey@racsa.co.cr> diff --git a/Makefile b/Makefile index 8785f1a1f4..b74f9e225f 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ ############################################################################ # Makefile # -# # Copyright (C) 2007-2011 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # @@ -70,16 +69,12 @@ CONFIG_APPS_DIR = ../apps endif APPDIR := ${shell if [ -r $(CONFIG_APPS_DIR)/Makefile ]; then echo "$(CONFIG_APPS_DIR)"; fi} -# The Pascal p-code add-on directory - -PCODE_DIR := ${shell if [ -r pcode/Makefile ]; then echo "pcode"; fi} - # All add-on directories. # # NUTTX_ADDONS is the list of directories built into the NuttX kernel. # USER_ADDONS is the list of directories that will be built into the user application -NUTTX_ADDONS := $(PCODE_DIR) $(NX_DIR) +NUTTX_ADDONS := $(NX_DIR) USER_ADDONS := ifeq ($(CONFIG_NUTTX_KERNEL),y) @@ -228,12 +223,6 @@ else NUTTXLIBS += fs/libfs$(LIBEXT) drivers/libdrivers$(LIBEXT) binfmt/libbinfmt$(LIBEXT) endif -# Add libraries for Pascall P-Code - -ifneq ($(PCODE_DIR),) -NUTTXLIBS += $(PCODE_DIR)/libpcode$(LIBEXT) -endif - # Add libraries for the NX graphics sub-system ifneq ($(NX_DIR),) @@ -357,9 +346,6 @@ drivers/libdrivers$(LIBEXT): context binfmt/libbinfmt$(LIBEXT): context @$(MAKE) -C binfmt TOPDIR="$(TOPDIR)" libbinfmt$(LIBEXT) EXTRADEFINES=$(KDEFINE) -pcode/libpcode$(LIBEXT): context - @$(MAKE) -C pcode TOPDIR="$(TOPDIR)" libpcode$(LIBEXT) EXTRADEFINES=$(KDEFINE) - graphics/libgraphics$(LIBEXT): context @$(MAKE) -C graphics TOPDIR="$(TOPDIR)" libgraphics$(LIBEXT) EXTRADEFINES=$(KDEFINE) diff --git a/configs/sim/pashello/appconfig b/configs/sim/pashello/appconfig index 30d83caaf4..d4adbcce11 100644 --- a/configs/sim/pashello/appconfig +++ b/configs/sim/pashello/appconfig @@ -37,3 +37,6 @@ CONFIGURED_APPS += examples/pashello +# Path to the Pascal p-code runtime interpreter module + +CONFIGURED_APPS += interpreters/pcode diff --git a/configs/xtrs/pashello/appconfig b/configs/xtrs/pashello/appconfig index cb1af14a30..0deb0b01b0 100644 --- a/configs/xtrs/pashello/appconfig +++ b/configs/xtrs/pashello/appconfig @@ -37,3 +37,7 @@ CONFIGURED_APPS += examples/pashello +# Path to the Pascal p-code runtime interpreter module + +CONFIGURED_APPS += interpreters/pcode + diff --git a/configs/z16f2800100zcog/pashello/appconfig b/configs/z16f2800100zcog/pashello/appconfig index f77eca16a5..07a95ee0fc 100644 --- a/configs/z16f2800100zcog/pashello/appconfig +++ b/configs/z16f2800100zcog/pashello/appconfig @@ -37,3 +37,6 @@ CONFIGURED_APPS += examples/pashello +# Path to the Pascal p-code runtime interpreter module + +CONFIGURED_APPS += interpreters/pcode diff --git a/configs/z80sim/pashello/appconfig b/configs/z80sim/pashello/appconfig index b08323b164..faa2589ab3 100644 --- a/configs/z80sim/pashello/appconfig +++ b/configs/z80sim/pashello/appconfig @@ -37,3 +37,7 @@ CONFIGURED_APPS += examples/pashello +# Path to the Pascal p-code runtime interpreter module + +CONFIGURED_APPS += interpreters/pcode +