mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-24 00:35:34 +03:00
- Move make/local.mk to the top of the Makefile, so it can set any variables - Move target and group definitions to make/targets.mk - Move settings related rules to make/settings.mk - Move build-stamp rules to make/stamp.mk - Define STM32 flash offset in a variable in make/mcu/STM32.mk - Add make/openocd.mk with openocd-run and openocd-flash targets - Add make/gdb.mk with gdb-openocd target
7 lines
239 B
Makefile
7 lines
239 B
Makefile
.PHONY: .FORCE
|
|
|
|
BUILD_STAMP = $(UTILS_DIR)/build_stamp.rb
|
|
STAMP = $(TARGET_OBJ_DIR)/build.stamp
|
|
|
|
$(STAMP): .FORCE
|
|
$(V1) CPP_PATH="$(ARM_SDK_DIR)/bin" CFLAGS="$(CFLAGS)" TARGET=$(TARGET) ruby $(BUILD_STAMP) $(SETTINGS_FILE) $(STAMP)
|