From e854178a8c4ec0b6efcd437a4bd552fd18b3db84 Mon Sep 17 00:00:00 2001 From: lukileczo Date: Thu, 2 Nov 2023 11:29:43 +0100 Subject: [PATCH] gr716: don't compile flash drv for fpga JIRA: RTOS-647 --- hal/sparcv8leon3/gr716/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hal/sparcv8leon3/gr716/Makefile b/hal/sparcv8leon3/gr716/Makefile index eee354c2..746df551 100644 --- a/hal/sparcv8leon3/gr716/Makefile +++ b/hal/sparcv8leon3/gr716/Makefile @@ -21,6 +21,8 @@ PLO_COMMANDS := alias app call console copy dump echo go help kernel map mem phf include devices/gpio-gr716/Makefile include devices/uart-grlib/Makefile -include devices/flash-gr716/Makefile +ifeq ($(TARGET_PROJECT), mini) + include devices/flash-gr716/Makefile +endif OBJS += $(addprefix $(PREFIX_O)hal/$(TARGET_SUFF)/$(TARGET_SUBFAMILY)/, hal.o gr716.o timer.o console.o)