all: Use full path name when including mp-readline/timeutils/netutils.
This follows the pattern of how all other headers are now included, and
makes it explicit where the header file comes from. This patch also
removes -I options from Makefile's that specify the mp-readline/timeutils/
netutils directories, which are no longer needed.
diff --git a/esp8266/Makefile b/esp8266/Makefile
index 28dbf08..a3da9d3 100644
--- a/esp8266/Makefile
+++ b/esp8266/Makefile
@@ -25,9 +25,6 @@
INC += -I.
INC += -I..
INC += -I../stmhal
-INC += -I../lib/mp-readline
-INC += -I../lib/netutils
-INC += -I../lib/timeutils
INC += -I$(BUILD)
INC += -I$(ESP_SDK)/include
diff --git a/esp8266/fatfs_port.c b/esp8266/fatfs_port.c
index 20c3235..02384f6 100644
--- a/esp8266/fatfs_port.c
+++ b/esp8266/fatfs_port.c
@@ -25,8 +25,8 @@
*/
#include "py/obj.h"
+#include "lib/timeutils/timeutils.h"
#include "lib/oofatfs/ff.h"
-#include "timeutils.h"
#include "modmachine.h"
DWORD get_fattime(void) {
diff --git a/esp8266/machine_rtc.c b/esp8266/machine_rtc.c
index 8c1fe07..019b705 100644
--- a/esp8266/machine_rtc.c
+++ b/esp8266/machine_rtc.c
@@ -30,7 +30,7 @@
#include "py/nlr.h"
#include "py/obj.h"
#include "py/runtime.h"
-#include "timeutils.h"
+#include "lib/timeutils/timeutils.h"
#include "user_interface.h"
#include "modmachine.h"
diff --git a/esp8266/modnetwork.c b/esp8266/modnetwork.c
index 762717b..627655b 100644
--- a/esp8266/modnetwork.c
+++ b/esp8266/modnetwork.c
@@ -32,7 +32,7 @@
#include "py/objlist.h"
#include "py/runtime.h"
#include "py/mphal.h"
-#include "netutils.h"
+#include "lib/netutils/netutils.h"
#include "queue.h"
#include "user_interface.h"
#include "espconn.h"
diff --git a/esp8266/modutime.c b/esp8266/modutime.c
index 117720e..bdeb3bb 100644
--- a/esp8266/modutime.c
+++ b/esp8266/modutime.c
@@ -34,8 +34,8 @@
#include "py/runtime.h"
#include "py/mphal.h"
#include "py/smallint.h"
+#include "lib/timeutils/timeutils.h"
#include "modmachine.h"
-#include "timeutils.h"
#include "user_interface.h"
#include "extmod/utime_mphal.h"