forked from Imagelibrary/rtems
Use $(EXEEXT) [defaults to "exe"] to generate binaries
This commit is contained in:
committed by
Sebastian Huber
parent
98bcf4ff6e
commit
efdda56546
@@ -21,7 +21,7 @@ CPU_CFLAGS =
|
||||
CFLAGS_OPTIMIZE_V = -O0 -g
|
||||
|
||||
define bsp-post-link
|
||||
$(OBJCOPY) -O binary --strip-all $(basename $@).exe \
|
||||
$(OBJCOPY) -O binary --strip-all $(basename $@)$(EXEEXT) \
|
||||
-R entry -R exceptions $(basename $@)$(DOWNEXT)
|
||||
$(default-bsp-post-link)
|
||||
endef
|
||||
|
||||
@@ -21,7 +21,7 @@ CPU_CFLAGS = -mbarrel-shift-enabled -mmultiply-enabled \
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
|
||||
define bsp-post-link
|
||||
$(OBJCOPY) -O binary --strip-all $(basename $@).exe \
|
||||
$(OBJCOPY) -O binary --strip-all $(basename $@)$(EXEEXT) \
|
||||
-R entry -R exceptions $(basename $@)$(DOWNEXT)
|
||||
$(default-bsp-post-link)
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user