OSDN Git Service

wireless: don't write C files on failures
authorJohannes Berg <johannes.berg@intel.com>
Tue, 5 Dec 2017 10:59:33 +0000 (11:59 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Dec 2017 07:47:09 +0000 (08:47 +0100)
commit715a12334764657bafb3ab964fb25f4e6115c770
treed76dc0676363ad24cf16040e545ccfe8ef557523
parent71334963d01ed7ec61a958a5a6585172793f5a24
wireless: don't write C files on failures

Change the scripting inside the shipped/extra certs C code
generation to not write the file when there are any failures.
That way, if the build aborts due to failures, we don't get
into a situation where a dummy file has been created and the
next build succeeds, but not with the desired output.

Fixes: 90a53e4432b1 ("cfg80211: implement regdb signature checking")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/Makefile