From 610a06cf7c8fd5e1c8fd29c503b203366ee83db5 Mon Sep 17 00:00:00 2001 From: Alan Carvalho de Assis Date: Sun, 27 Aug 2023 20:08:04 -0300 Subject: [PATCH] stm32f7/stm32f769i-disco: Add common board support --- .../stm32f7/stm32f769i-disco/src/{Makefile => Make.defs} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename boards/arm/stm32f7/stm32f769i-disco/src/{Makefile => Make.defs} (87%) diff --git a/boards/arm/stm32f7/stm32f769i-disco/src/Makefile b/boards/arm/stm32f7/stm32f769i-disco/src/Make.defs similarity index 87% rename from boards/arm/stm32f7/stm32f769i-disco/src/Makefile rename to boards/arm/stm32f7/stm32f769i-disco/src/Make.defs index 2c1888268f..9db33e44c1 100644 --- a/boards/arm/stm32f7/stm32f769i-disco/src/Makefile +++ b/boards/arm/stm32f7/stm32f769i-disco/src/Make.defs @@ -1,5 +1,5 @@ ############################################################################ -# boards/arm/stm32f7/stm32f769i-disco/src/Makefile +# boards/arm/stm32f7/stm32f769i-disco/src/Make.defs # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with @@ -48,4 +48,6 @@ ifeq ($(CONFIG_STM32F7_FMC),y) CSRCS += stm32_extmem.c endif -include $(TOPDIR)/boards/Board.mk +DEPPATH += --dep-path board +VPATH += :board +CFLAGS += ${INCDIR_PREFIX}$(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src$(DELIM)board$(DELIM)board