diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-21 23:22:38 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-21 23:22:38 +0000 |
commit | 38e599c580d418182a6fc4101686843ff0ae4e18 (patch) | |
tree | a7c63a4de855be32b42693ae154f516a22d183dc /apps/interpreters/Makefile | |
parent | 3689d913ceb2bb52b808e0e5598e83bcfdd88134 (diff) | |
download | px4-nuttx-38e599c580d418182a6fc4101686843ff0ae4e18.tar.gz px4-nuttx-38e599c580d418182a6fc4101686843ff0ae4e18.tar.bz2 px4-nuttx-38e599c580d418182a6fc4101686843ff0ae4e18.zip |
A few more fixes for ez80 Windows Native build (still not enough)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5381 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/interpreters/Makefile')
-rw-r--r-- | apps/interpreters/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/interpreters/Makefile b/apps/interpreters/Makefile index 08385433a..867d45f99 100644 --- a/apps/interpreters/Makefile +++ b/apps/interpreters/Makefile @@ -33,7 +33,7 @@ # ############################################################################ --include $(TOPDIR)/.config # Current configuration +-include $(TOPDIR)/.config # Sub-directories containing interpreter runtime @@ -41,9 +41,15 @@ SUBDIRS = pcode ficl # Create the list of installed runtime modules (INSTALLED_DIRS) +ifeq ($(CONFIG_WINDOWS_NATIVE),y) +define ADD_DIRECTORY +INSTALLED_DIRS += ${shell if exist $1\Makefile (echo $1)} +endef +else define ADD_DIRECTORY INSTALLED_DIRS += ${shell if [ -r $1/Makefile ]; then echo "$1"; fi} endef +endif $(foreach DIR, $(SUBDIRS), $(eval $(call ADD_DIRECTORY,$(DIR)))) |