File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -124,14 +124,19 @@ def compile_ulp_binary():
124
124
"build" ,
125
125
)
126
126
127
- return ulp_env .Command (
127
+ # The `build.ninja` dependency is always generated with the same content
128
+ # so a cloned environment with a decider that depends on a timestamp is used
129
+ ulp_binary_env = ulp_env .Clone ()
130
+ ulp_binary_env .Decider ("timestamp-newer" )
131
+
132
+ return ulp_binary_env .Command (
128
133
[
129
134
os .path .join (ULP_BUILD_DIR , "ulp_main.h" ),
130
135
os .path .join (ULP_BUILD_DIR , "ulp_main.ld" ),
131
136
os .path .join (ULP_BUILD_DIR , "ulp_main.bin" ),
132
137
],
133
138
None ,
134
- ulp_env .VerboseAction (" " .join (cmd ), "Generating ULP project files $TARGETS" ),
139
+ ulp_binary_env .VerboseAction (" " .join (cmd ), "Generating ULP project files $TARGETS" ),
135
140
)
136
141
137
142
You can’t perform that action at this time.
0 commit comments