]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit57205c163405c96154ab538fd81bfc736fd10687
treed76dc0676363ad24cf16040e545ccfe8ef557523
parentb9cecb37c808cdb9d28d59252bae5ef100f9c05b
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: 22cd65efa7d5 ("cfg80211: implement regdb signature checking")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/Makefile