Update cpdebug.mk

Allow Env to overwrite Makefile's default OBJCOPY and OBJDUMP, just like CC
This commit is contained in:
Alam Ed Arias 2023-10-12 18:12:23 +00:00
parent fa76733fee
commit fe65f2b271

View file

@ -3,12 +3,12 @@ ifdef ComSpec
COMSPEC=$(ComSpec)
endif
ifdef COMSPEC
OBJCOPY=objcopy.exe
OBJDUMP=objdump.exe
OBJCOPY?=objcopy.exe
OBJDUMP?=objdump.exe
GZIP?=gzip.exe
else
OBJCOPY=objcopy
OBJDUMP=objdump
OBJCOPY?=objcopy
OBJDUMP?=objdump
GZIP?=gzip
endif
DBGNAME=$(BIN).debug