From 357d0f166a6ee807783b52ce2534f3616b0a6c09 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 28 Oct 2020 16:12:15 +0100 Subject: [PATCH] stm32-sx1280: .h files depend on build dir --- port/stm32-l451-miromico-sx1280/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/port/stm32-l451-miromico-sx1280/Makefile b/port/stm32-l451-miromico-sx1280/Makefile index 8792537e9..76e175c92 100644 --- a/port/stm32-l451-miromico-sx1280/Makefile +++ b/port/stm32-l451-miromico-sx1280/Makefile @@ -248,7 +248,7 @@ vpath %.c $(sort $(dir $(C_SOURCES))) OBJECTS += $(addprefix $(BUILD_DIR)/,$(notdir $(ASM_SOURCES:.s=.o))) vpath %.s $(sort $(dir $(ASM_SOURCES))) -$(BUILD_DIR)/%.h: %.gatt +$(BUILD_DIR)/%.h: %.gatt | $(BUILD_DIR) python3 ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@ $(BUILD_DIR)/%.o: %.c Makefile | $(BUILD_DIR)