targets/toolchain_makefile.py
changeset 2459 21164625b393
parent 2456 7373e3048167
child 2463 8742337a9fe3
--- a/targets/toolchain_makefile.py	Fri Nov 23 11:01:20 2018 +0100
+++ b/targets/toolchain_makefile.py	Fri Nov 23 12:13:24 2018 +0100
@@ -28,11 +28,11 @@
 import re
 import operator
 import hashlib
-
+from functools import reduce
 from util.ProcessLogger import ProcessLogger
 
 
-includes_re = re.compile('\s*#include\s*["<]([^">]*)[">].*')
+includes_re = re.compile(r'\s*#include\s*["<]([^">]*)[">].*')
 
 
 class toolchain_makefile(object):