From 04286eb191d9d2bb42a77b8e48a768b6d84fd208 Mon Sep 17 00:00:00 2001 From: Alan Carvalho de Assis Date: Sun, 27 Aug 2023 19:48:20 -0300 Subject: [PATCH] stm32f7/stm32f746g-disco: Add common board support --- .../stm32f7/stm32f746g-disco/src/{Makefile => Make.defs} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename boards/arm/stm32f7/stm32f746g-disco/src/{Makefile => Make.defs} (90%) diff --git a/boards/arm/stm32f7/stm32f746g-disco/src/Makefile b/boards/arm/stm32f7/stm32f746g-disco/src/Make.defs similarity index 90% rename from boards/arm/stm32f7/stm32f746g-disco/src/Makefile rename to boards/arm/stm32f7/stm32f746g-disco/src/Make.defs index 202884f6b4..38ca82be7d 100644 --- a/boards/arm/stm32f7/stm32f746g-disco/src/Makefile +++ b/boards/arm/stm32f7/stm32f746g-disco/src/Make.defs @@ -1,5 +1,5 @@ ############################################################################ -# boards/arm/stm32f7/stm32f746g-disco/src/Makefile +# boards/arm/stm32f7/stm32f746g-disco/src/Make.defs # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with @@ -74,4 +74,6 @@ ifeq ($(CONFIG_AUDIO_WM8994),y) CSRCS += stm32_wm8994.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