diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-23 15:51:45 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-23 15:51:45 +0000 |
commit | 2327d0eedcef3de9a9aed8b48ea786c531070b5f (patch) | |
tree | 0888916956b120bd3c7abd6c16b366344c7fbe52 /apps/Makefile | |
parent | 096397d49fbae5398528a1a8c0d84e091625249a (diff) | |
download | px4-firmware-2327d0eedcef3de9a9aed8b48ea786c531070b5f.tar.gz px4-firmware-2327d0eedcef3de9a9aed8b48ea786c531070b5f.tar.bz2 px4-firmware-2327d0eedcef3de9a9aed8b48ea786c531070b5f.zip |
Fewer shell invocations in apps/Makefile
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5248 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/Makefile')
-rw-r--r-- | apps/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/Makefile b/apps/Makefile index e407e2de8..be98dbbfe 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -114,8 +114,9 @@ $(foreach BUILTIN, $(CONFIGURED_APPS), $(eval $(call ADD_BUILTIN,$(BUILTIN)))) # provided by the user (possibly as a symbolic link) to add libraries and # applications to the standard build from the repository. -INSTALLED_APPS += ${shell if [ -r external/Makefile ]; then echo "external"; fi} -SUBDIRS += ${shell if [ -r external/Makefile ]; then echo "external"; fi} +EXTERNAL_DIR := $(dir $(wildcard external/Makefile)) +INSTALLED_APPS += $(EXTERNAL_DIR) +SUBDIRS += $(EXTERNAL_DIR) # The final build target |