You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/02/20 15:01:12 UTC
[incubator-nuttx-apps] branch pr80 updated: Make.defs: Fix to hide
loadable apps from builtin app list
This is an automated email from the ASF dual-hosted git repository.
gnutt pushed a commit to branch pr80
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/pr80 by this push:
new f87657f Make.defs: Fix to hide loadable apps from builtin app list
f87657f is described below
commit f87657fe68b91eed2bc8d3298c6971185578ff4a
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Thu Feb 20 15:58:51 2020 +0900
Make.defs: Fix to hide loadable apps from builtin app list
Signed-off-by: Masayuki Ishikawa <Ma...@jp.sony.com>
---
Make.defs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Make.defs b/Make.defs
index 77b0c82..16f5f16 100644
--- a/Make.defs
+++ b/Make.defs
@@ -82,8 +82,8 @@ DEPCONFIG = $(TOPDIR)$(DELIM).config
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
define REGISTER
$(Q) echo Register: $1
- $(Q) echo { "$1", $2, $3, $4 }, > "$(BUILTIN_REGISTRY)$(DELIM)$1.bdat"
$(Q) if [ ! -z $4 ]; then \
+ echo { "$1", $2, $3, $4 }, > "$(BUILTIN_REGISTRY)$(DELIM)$1.bdat"; \
echo "int $4(int argc, char *argv[]);" > "$(BUILTIN_REGISTRY)$(DELIM)$1.pdat"; \
fi;
$(Q) touch $(BUILTIN_REGISTRY)$(DELIM).updated"
@@ -91,8 +91,8 @@ endef
else
define REGISTER
$(Q) echo "Register: $1"
- $(Q) echo "{ \"$1\", $2, $3, $4 }," > "$(BUILTIN_REGISTRY)$(DELIM)$1.bdat"
$(Q) if [ ! -z $4 ]; then \
+ echo "{ \"$1\", $2, $3, $4 }," > "$(BUILTIN_REGISTRY)$(DELIM)$1.bdat"; \
echo "int $4(int argc, char *argv[]);" > "$(BUILTIN_REGISTRY)$(DELIM)$1.pdat"; \
fi;
$(Q) touch "$(BUILTIN_REGISTRY)$(DELIM).updated"