summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-04-05 23:05:32 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-04-05 23:05:43 +0200
commit35fdf82e6adeb9b7404f32cd20ce64dcfdad2574 (patch)
treed7d6eab161a4b8e28065a71ff8f74666b095aa92
parenta6c52990f925a3790afc2601e31053b44fdac565 (diff)
make lib: don't require a space after assignments
Some makefiles have just obj-$(...)+= which wasn't parsed correctly. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--lib/make.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/make.py b/lib/make.py
index 3ed2b675..f722a93e 100644
--- a/lib/make.py
+++ b/lib/make.py
@@ -4,7 +4,7 @@
import os, re
-obj_line = re.compile(r'^obj-(?P<dep>[^\s]*)\s*.?=\s*(?P<tgt>[^\\]*)\s*(?P<cont>\\?)')
+obj_line = re.compile(r'^obj-(?P<dep>[^\s+:=]*)\s*[+:]?=\s*(?P<tgt>[^\\]*)\s*(?P<cont>\\?)')
class MakeTree(object):
def __init__(self, rootfile):