Use the '-include' directive instead of 'include' to suppress error
messages from make as following:
make[2]: Entering directory '/home/heesub/Documents/tinyara/apps/wpa_supplicant'
Makefile:36: /home/heesub/Documents/tinyara/os/Make.defs: No such file or directory
make[2]: *** No rule to make target '/home/heesub/Documents/tinyara/os/Make.defs'. Stop.
make[2]: Leaving directory '/home/heesub/Documents/tinyara/apps/wpa_supplicant'
Makefile:107: recipe for target 'wpa_supplicant/_clean' failed
make[1]: *** [wpa_supplicant/_clean] Error 2
I am not sure that including Make.defs at $(TOPDIR) is really necessary.
Otherwise, it might be better to remove the inclusion.
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
#
############################################################################
-include $(TOPDIR)/Make.defs
+-include $(TOPDIR)/Make.defs
CONFIG_WPA_SUPPLICANT_PRIORITY ?= SCHED_PRIORITY_DEFAULT
CONFIG_WPA_SUPPLICANT_STACKSIZE ?= 16384