summaryrefslogtreecommitdiff
path: root/nuttx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/Makefile')
-rw-r--r--nuttx/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/Makefile b/nuttx/Makefile
index b7e9047f3..8d9d0c7b7 100644
--- a/nuttx/Makefile
+++ b/nuttx/Makefile
@@ -47,7 +47,7 @@ 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`
+PCODE_DIR := ${shell if [ -r pcode/Makefile ]; then echo "pcode"; fi}
# FSDIRS depend on file descriptor support; NONFSDIRS do not
# (except for parts of FSDIRS). We will exclude FSDIRS