mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-10-02 17:09:00 +00:00
Fix bug when calling directly recovery Makefile
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
|
||||
# This Makefile might have been called directly, not via the root Makefile, so:
|
||||
ifeq ($(PLTNAME),)
|
||||
PLATFORM_FILE ?= ../Makefile.platform
|
||||
-include $(PLATFORM_FILE)
|
||||
-include ../.Makefile.options.cache
|
||||
include ../common_arm/Makefile.hal
|
||||
ifeq ($(PLATFORM_CHANGED), true)
|
||||
$(error platform definitions have been changed, please "make clean" at the root of the project)
|
||||
endif
|
||||
endif
|
||||
|
||||
include ../common_arm/Makefile.common
|
||||
|
||||
INSTALLFW = recovery.bin
|
||||
|
||||
Reference in New Issue
Block a user