1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 00:35:34 +03:00
inav/make/stamp.mk
Alberto García Hierro b9311541e4 [MAKE] Split makefiles, add support for OpenOCD and GDB
- 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
2019-12-09 11:23:52 +00:00

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)