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.
This commit is contained in:
SPRESENSE 2021-08-19 14:25:19 +09:00 committed by Xiang Xiao
parent 0ac02765bd
commit f8d036d70b
1 changed files with 1 additions and 1 deletions

View File

@ -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)