forked from len0rd/rockbox
Don't objcopy simulator plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19152 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d273f663a1
commit
20fb305b0b
3 changed files with 19 additions and 4 deletions
|
|
@ -21,8 +21,13 @@ OTHER_SRC += $(REVERSI_SRC)
|
|||
$(REVERSIBUILDDIR)/reversi.rock: $(REVERSI_OBJ)
|
||||
# for some reason, this doesn't match the implicit rule in plugins.make,
|
||||
# so we have to duplicate the link command here
|
||||
$(call PRINTS,LD $(@F))
|
||||
$(SILENT)$(CC) $(PLUGINFLAGS) -o $*.elf \
|
||||
$(filter %.o, $^) \
|
||||
$(filter %.a, $^) \
|
||||
-lgcc $(PLUGINLDFLAGS)
|
||||
$(call PRINTS,LD $(@F))$(OC) -O binary $*.elf $@
|
||||
ifdef SIMVER
|
||||
$(SILENT)cp $*.elf $@
|
||||
else
|
||||
$(SILENT)$(OC) -O binary $*.elf $@
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue