Revert "scripts: west build: default build.pristine to auto"

This reverts commit c505ca38cf.

Fixes: #31358

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2021-01-15 09:17:01 -08:00 committed by Kumar Gala
parent 5723f381e9
commit c19c6fb438

View File

@ -150,7 +150,7 @@ class Build(Forceable):
pristine = args.pristine
else:
# Load the pristine={auto, always, never} configuration value
pristine = config_get('pristine', 'auto')
pristine = config_get('pristine', 'never')
if pristine not in ['auto', 'always', 'never']:
log.wrn(
'treating unknown build.pristine value "{}" as "never"'.