You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/08/19 06:21:52 UTC

[incubator-nuttx] branch master updated: drivers/Makefile: Use the -include directive for platform/Make.defs

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

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


The following commit(s) were added to refs/heads/master by this push:
     new f8d036d  drivers/Makefile: Use the -include directive for platform/Make.defs
f8d036d is described below

commit f8d036d70b20e373d8b7988b362bbb4f7ec9e1ef
Author: SPRESENSE <41...@users.noreply.github.com>
AuthorDate: Thu Aug 19 14:25:19 2021 +0900

    drivers/Makefile: Use the -include directive for platform/Make.defs
    
    Since `platform` of `platform/Make.defs` is a symbolic link created during
    the build process, we use -include directive instead of include for safety.
---
 drivers/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/Makefile b/drivers/Makefile
index ee41962..21cbfa9 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -65,7 +65,7 @@ include rf/Make.defs
 include rc/Make.defs
 
 ifeq ($(CONFIG_SPECIFIC_DRIVERS),y)
-include platform/Make.defs
+-include platform/Make.defs
 endif
 
 ifeq ($(CONFIG_DEV_SIMPLE_ADDRENV),y)