From dfeafc5c2d7377cbe9424a5c62f973ec76afe5af Mon Sep 17 00:00:00 2001 From: Alan Carvalho de Assis Date: Sun, 27 Aug 2023 19:55:12 -0300 Subject: [PATCH] stm32f7/stm32f746-ws: Add common board support --- boards/arm/stm32f7/stm32f746-ws/src/{Makefile => Make.defs} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename boards/arm/stm32f7/stm32f746-ws/src/{Makefile => Make.defs} (85%) diff --git a/boards/arm/stm32f7/stm32f746-ws/src/Makefile b/boards/arm/stm32f7/stm32f746-ws/src/Make.defs similarity index 85% rename from boards/arm/stm32f7/stm32f746-ws/src/Makefile rename to boards/arm/stm32f7/stm32f746-ws/src/Make.defs index 0c6ff396fe6c2..70c6861952858 100644 --- a/boards/arm/stm32f7/stm32f746-ws/src/Makefile +++ b/boards/arm/stm32f7/stm32f746-ws/src/Make.defs @@ -1,5 +1,5 @@ ############################################################################ -# boards/arm/stm32f7/stm32f746-ws/src/Makefile +# boards/arm/stm32f7/stm32f746-ws/src/Make.defs # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with @@ -34,4 +34,6 @@ ifeq ($(CONFIG_STM32F7_SDMMC1),y) CSRCS += stm32_sdmmc.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