As ${APP_BIN} and ${APP_HDR_BIN} are not true targets, the dependency on them effectively only required the .bin files to be present. When building with make -j, this led to the situation that the target ${NAME}_hdr finished *before* compiling the project, in case there were .bin files left from previous builds, leading to ${NAME}_hdr.bin files containing invalid CRCs. Setting the dependencies on ${NAME} fixes this issue. The reasoning is that if target ${NAME} is built, ${APP_BIN} should have been generated. There is no need to depend on both ${NAME} and ${NAME}_hdr, as ${NAME}_hdr already depends on ${NAME}.
|
|
||
137 |
|
137 |
|
138 |
|
138 |
|
139 |
|
139 |
|
140 |
|
|
|
141 |
|
|
|
|
140 |
|
|
|
141 |
|
|
142 |
|
142 |
|
143 |
|
143 |
|
144 |
|
144 |
|
145 |
|
145 |
|
146 |
|
|
|
147 |
|
|
|
|
146 |
|
|
|
147 |
|
|
148 |
|
148 |
|
149 |
|
149 |
|
150 |
|
150 |
|