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():
124124 "build" ,
125125 )
126126
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 (
128133 [
129134 os .path .join (ULP_BUILD_DIR , "ulp_main.h" ),
130135 os .path .join (ULP_BUILD_DIR , "ulp_main.ld" ),
131136 os .path .join (ULP_BUILD_DIR , "ulp_main.bin" ),
132137 ],
133138 None ,
134- ulp_env .VerboseAction (" " .join (cmd ), "Generating ULP project files $TARGETS" ),
139+ ulp_binary_env .VerboseAction (" " .join (cmd ), "Generating ULP project files $TARGETS" ),
135140 )
136141
137142
You can’t perform that action at this time.
0 commit comments