Fix bug when calling directly recovery Makefile

This commit is contained in:
Philippe Teuwen committed 2026-09-25 22:43:58 +02:00
1 parent 027b225f41
commit fc024c8038
2 files changed
+14 -2

No files matched your search

+2 -2
View File
@@ -16,11 +16,11 @@
# Default platform if no platform specified
PLATFORM?=PM3RDV4
# Standalone Mode info (path depends if make is called at top or from armsrc)
# Standalone Mode info (path depends if make is called at top, from armsrc, or from a sibling dir like recovery/bootrom)
# Guard Makefile.hal against implicit rules: (with % to avoid being first goal)
%/Makefile.hal: ;
-include armsrc/Standalone/Makefile.hal
-include Standalone/Makefile.hal
-include ../armsrc/Standalone/Makefile.hal
ifndef DEFAULT_STANDALONE
$(error Could not find armsrc/Standalone/Makefile.hal)
endif