wpa_supplicant: ignore Make.defs if it does not exist
authorHeesub Shin <heesub.shin@samsung.com>
Thu, 20 Apr 2017 16:15:49 +0000 (01:15 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Thu, 20 Apr 2017 17:08:13 +0000 (02:08 +0900)
commit5665dc1b456280a07fb32514634513c1549e0e3c
treeb757df3a6e5134fa6596ead36c2a90e2728198a5
parent0108b8bb573f14a3a2f1b1736350d58aca6da24c
wpa_supplicant: ignore Make.defs if it does not exist

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>
apps/wpa_supplicant/Makefile