From 35fdf82e6adeb9b7404f32cd20ce64dcfdad2574 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Fri, 5 Apr 2013 23:05:32 +0200 Subject: [PATCH] make lib: don't require a space after assignments Some makefiles have just obj-$(...)+= which wasn't parsed correctly. Signed-off-by: Johannes Berg --- lib/make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/make.py b/lib/make.py index 3ed2b6758bf0..f722a93e2170 100644 --- a/lib/make.py +++ b/lib/make.py @@ -4,7 +4,7 @@ import os, re -obj_line = re.compile(r'^obj-(?P[^\s]*)\s*.?=\s*(?P[^\\]*)\s*(?P\\?)') +obj_line = re.compile(r'^obj-(?P[^\s+:=]*)\s*[+:]?=\s*(?P[^\\]*)\s*(?P\\?)') class MakeTree(object): def __init__(self, rootfile): -- 2.30.2