From 8f9bb379adff58a692921a3888299fbe0ddacdae Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sun, 13 Jul 2025 11:57:14 +0200 Subject: [PATCH] fix client Makefile if no Makefie.platform is provided --- client/Makefile | 2 ++ tools/fpga_compress/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/client/Makefile b/client/Makefile index de90a5f5c..777343d07 100644 --- a/client/Makefile +++ b/client/Makefile @@ -17,6 +17,8 @@ ifeq ($(PLTNAME),) -include ../Makefile.platform -include ../.Makefile.options.cache +# Default platform if no platform specified + PLATFORM?=PM3RDV4 ifneq ($(PLATFORM), $(CACHED_PLATFORM)) $(error platform definitions have been changed, please "make clean" at the root of the project) endif diff --git a/tools/fpga_compress/Makefile b/tools/fpga_compress/Makefile index 92af2739e..3e34619e8 100644 --- a/tools/fpga_compress/Makefile +++ b/tools/fpga_compress/Makefile @@ -1,6 +1,8 @@ ifeq ($(PLTNAME),) -include ../../Makefile.platform -include ../../.Makefile.options.cache +# Default platform if no platform specified + PLATFORM?=PM3RDV4 ifneq ($(PLATFORM), $(CACHED_PLATFORM)) $(error platform definitions have been changed, please "make clean" at the root of the project) endif