summaryrefslogtreecommitdiff
path: root/apps/plugins/pdbox
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pdbox')
-rw-r--r--apps/plugins/pdbox/pdbox.make4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/pdbox/pdbox.make b/apps/plugins/pdbox/pdbox.make
index d39d9fde1e..d2c836f513 100644
--- a/apps/plugins/pdbox/pdbox.make
+++ b/apps/plugins/pdbox/pdbox.make
@@ -22,7 +22,7 @@ $(PDBOXBUILDDIR)/pdbox.rock: $(PDBOX_OBJ) $(MPEG_OBJ) $(CODECDIR)/libtlsf.a
22 22
23PDBOXFLAGS = $(PLUGINFLAGS) 23PDBOXFLAGS = $(PLUGINFLAGS)
24PDBOXLDFLAGS = $(PLUGINLDFLAGS) 24PDBOXLDFLAGS = $(PLUGINLDFLAGS)
25ifdef SIMVER 25ifdef APP_TYPE
26PDBOXLDFLAGS += -lm 26PDBOXLDFLAGS += -lm
27endif 27endif
28 28
@@ -36,7 +36,7 @@ $(PDBOXBUILDDIR)/pdbox.rock:
36 $(filter %.o, $^) \ 36 $(filter %.o, $^) \
37 $(filter %.a, $+) \ 37 $(filter %.a, $+) \
38 -lgcc $(PDBOXLDFLAGS) 38 -lgcc $(PDBOXLDFLAGS)
39ifdef SIMVER 39ifdef APP_TYPE
40 $(SILENT)cp $*.elf $@ 40 $(SILENT)cp $*.elf $@
41else 41else
42 $(SILENT)$(OC) -O binary $*.elf $@ 42 $(SILENT)$(OC) -O binary $*.elf $@