From 45de3417e31337db4310fc77a048ea9d1e6772bb Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Wed, 1 Feb 2017 18:19:22 +0100 Subject: gbuild-to-ide patch to allow faulty gbuildtojson Sometimes gbuildtojson does not get rebuild, and thus delivers unexpected json files (old keys) Change-Id: Ib4bab170ed5a2ab5c112d19af144f2551e608278 --- bin/gbuild-to-ide | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide index f9ca375357d9..962463e78642 100755 --- a/bin/gbuild-to-ide +++ b/bin/gbuild-to-ide @@ -126,6 +126,8 @@ class GbuildParser: for i in ['CXXFLAGS', 'CFLAGS', 'OBJCFLAGS', 'OBJCXXFLAGS']: jsondata[i] = GbuildParser.__split_flags(jsondata[i], jsondata[i+'APPEND']) for i in jsonSrc: + if not i in jsondata: + jsondata[i] = '' jsondata[i] = GbuildParser.__split_objs(module, jsondata[i], jsonSrc[i]) if not module in moduleDict: -- cgit