Commit c505ca38 authored by Martí Bolívar's avatar Martí Bolívar Committed by Carles Cufi
Browse files

scripts: west build: default build.pristine to auto



I've repeatedly seen that people are not aware of the existence of
this configuration option.

I've been using build.pristine=auto daily for years and never had any
problems. I've also asked around on Slack a couple of times over
various points to see if anybody objects to making this change. Nobody
has, so let's just turn it on by default.

Signed-off-by: default avatarMartí Bolívar <marti.bolivar@nordicsemi.no>
parent 95cec835
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -150,7 +150,7 @@ class Build(Forceable):
            pristine = args.pristine
        else:
            # Load the pristine={auto, always, never} configuration value
            pristine = config_get('pristine', 'never')
            pristine = config_get('pristine', 'auto')
            if pristine not in ['auto', 'always', 'never']:
                log.wrn(
                    'treating unknown build.pristine value "{}" as "never"'.