fix client Makefile if no Makefie.platform is provided

This commit is contained in:
Philippe Teuwen 2025-07-13 11:57:14 +02:00
commit 8f9bb379ad
2 changed files with 4 additions and 0 deletions

View file

@ -17,6 +17,8 @@
ifeq ($(PLTNAME),) ifeq ($(PLTNAME),)
-include ../Makefile.platform -include ../Makefile.platform
-include ../.Makefile.options.cache -include ../.Makefile.options.cache
# Default platform if no platform specified
PLATFORM?=PM3RDV4
ifneq ($(PLATFORM), $(CACHED_PLATFORM)) ifneq ($(PLATFORM), $(CACHED_PLATFORM))
$(error platform definitions have been changed, please "make clean" at the root of the project) $(error platform definitions have been changed, please "make clean" at the root of the project)
endif endif

View file

@ -1,6 +1,8 @@
ifeq ($(PLTNAME),) ifeq ($(PLTNAME),)
-include ../../Makefile.platform -include ../../Makefile.platform
-include ../../.Makefile.options.cache -include ../../.Makefile.options.cache
# Default platform if no platform specified
PLATFORM?=PM3RDV4
ifneq ($(PLATFORM), $(CACHED_PLATFORM)) ifneq ($(PLATFORM), $(CACHED_PLATFORM))
$(error platform definitions have been changed, please "make clean" at the root of the project) $(error platform definitions have been changed, please "make clean" at the root of the project)
endif endif