Skip to content

Commit fea447a

Browse files
committed
Rename make target build_all to $(BUILD_ALL)
The current `Makefile` works "as is" since `$(BUILD_ALL)` is `build_all`. However, the target `build` depends on `$(BUILD_ALL)`, so should that variable ever be changed, it will break. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss [email protected]
1 parent 2c77489 commit fea447a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ $(BUILD_ALL)_stm32f4: $(BUILD_DIRS_STM32F4)
257257
$(Q) ($(MAKE) -C $(BUILD_DIR)/stm32f4 $(JERRY_STM32F4_TARGETS) VERBOSE=1 2>&1 | tee $(OUT_DIR)/$@/make.log $(QLOG) ; ( exit $${PIPESTATUS[0]} ) ) || \
258258
(echo "Build failed. See $(OUT_DIR)/$@/make.log for details."; exit 1;)
259259

260-
.PHONY: build_all
261-
build_all: $(BUILD_ALL)_native $(BUILD_ALL)_stm32f3 $(BUILD_ALL)_stm32f4
260+
.PHONY: $(BUILD_ALL)
261+
$(BUILD_ALL): $(BUILD_ALL)_native $(BUILD_ALL)_stm32f3 $(BUILD_ALL)_stm32f4
262262

263263
#
264264
# build - build_all, then run cppcheck and copy output to OUT_DIR

0 commit comments

Comments
 (0)