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/03 21:08:45 UTC

[incubator-nuttx-apps] branch pr46 updated: Reference tools/define.sh through DEFINE macro

This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch pr46
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/pr46 by this push:
     new 9c4dee8  Reference tools/define.sh through DEFINE macro
9c4dee8 is described below

commit 9c4dee89b0d3d9be5865a07dca1ce47af8b6831c
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sun May 13 17:56:53 2018 +0800

    Reference tools/define.sh through DEFINE macro
    
    Change-Id: I496328d3692ad6a7e556b098ae07298d2d25d151
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 examples/module/drivers/chardev/Makefile | 2 +-
 examples/sotest/lib/modprint/Makefile    | 2 +-
 examples/sotest/lib/sotest/Makefile      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/module/drivers/chardev/Makefile b/examples/module/drivers/chardev/Makefile
index cc7105b..5b290d5 100644
--- a/examples/module/drivers/chardev/Makefile
+++ b/examples/module/drivers/chardev/Makefile
@@ -45,7 +45,7 @@ else
 NUTTXLIB = "$(TOPDIR)$(DELIM)staging"
 endif
 
-KDEFINE = ${shell $(TOPDIR)/tools/define.sh "$(CC)" __KERNEL__}
+KDEFINE = ${shell $(DEFINE) "$(CC)" __KERNEL__}
 CMODULEFLAGS += $(KDEFINE)
 
 LDLIBPATH =
diff --git a/examples/sotest/lib/modprint/Makefile b/examples/sotest/lib/modprint/Makefile
index d7a6f69..3c77986 100644
--- a/examples/sotest/lib/modprint/Makefile
+++ b/examples/sotest/lib/modprint/Makefile
@@ -45,7 +45,7 @@ else
 NUTTXLIB = "$(TOPDIR)$(DELIM)staging"
 endif
 
-KDEFINE = ${shell $(TOPDIR)/tools/define.sh "$(CC)" __KERNEL__}
+KDEFINE = ${shell $(DEFINE) "$(CC)" __KERNEL__}
 CMODULEFLAGS += $(KDEFINE)
 
 LDLIBPATH =
diff --git a/examples/sotest/lib/sotest/Makefile b/examples/sotest/lib/sotest/Makefile
index 89972d5..45c9ac6 100644
--- a/examples/sotest/lib/sotest/Makefile
+++ b/examples/sotest/lib/sotest/Makefile
@@ -45,7 +45,7 @@ else
 NUTTXLIB = "$(TOPDIR)$(DELIM)staging"
 endif
 
-KDEFINE = ${shell $(TOPDIR)/tools/define.sh "$(CC)" __KERNEL__}
+KDEFINE = ${shell $(DEFINE) "$(CC)" __KERNEL__}
 CMODULEFLAGS += $(KDEFINE)
 
 LDLIBPATH =