diff options
author | Franklin Wei <git@fwei.tk> | 2019-05-15 18:17:28 -0400 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2019-05-15 18:18:17 -0400 |
commit | 75fe15a06c282b50a9b672c5420a2270e1bfe878 (patch) | |
tree | d8314a49db1add04945ff664d0ddf8cafc6df868 /apps/plugins/puzzles/puzzles.make | |
parent | f940276fd9bc38ae34d4119fd1d983171a627400 (diff) | |
download | rockbox-75fe15a06c282b50a9b672c5420a2270e1bfe878.tar.gz rockbox-75fe15a06c282b50a9b672c5420a2270e1bfe878.zip |
puzzles: refactor rockbox frontend
Cleaned up a bit of copy-pasted code and added some useful comments.
Change-Id: I9a6f37acbeeda58b3ea8c65ee96230372400f323
Diffstat (limited to 'apps/plugins/puzzles/puzzles.make')
-rw-r--r-- | apps/plugins/puzzles/puzzles.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/puzzles/puzzles.make b/apps/plugins/puzzles/puzzles.make index 45f591d544..b3f929ded4 100644 --- a/apps/plugins/puzzles/puzzles.make +++ b/apps/plugins/puzzles/puzzles.make | |||
@@ -40,7 +40,7 @@ PUZZLESFLAGS = -I$(PUZZLES_SRCDIR)/dummy $(filter-out \ | |||
40 | -Wno-strict-aliasing -DFOR_REAL \ | 40 | -Wno-strict-aliasing -DFOR_REAL \ |
41 | -I$(PUZZLES_SRCDIR)/src -I$(PUZZLES_SRCDIR) -include \ | 41 | -I$(PUZZLES_SRCDIR)/src -I$(PUZZLES_SRCDIR) -include \ |
42 | $(PUZZLES_SRCDIR)/rbcompat.h -ffunction-sections \ | 42 | $(PUZZLES_SRCDIR)/rbcompat.h -ffunction-sections \ |
43 | -fdata-sections -w | 43 | -fdata-sections -w -Wl,--gc-sections |
44 | 44 | ||
45 | $(PUZZLES_OBJDIR)/sgt-%.rock: $(PUZZLES_OBJDIR)/src/%.o $(PUZZLES_OBJDIR)/help/%.o $(PUZZLES_SHARED_OBJ) $(TLSFLIB) | 45 | $(PUZZLES_OBJDIR)/sgt-%.rock: $(PUZZLES_OBJDIR)/src/%.o $(PUZZLES_OBJDIR)/help/%.o $(PUZZLES_SHARED_OBJ) $(TLSFLIB) |
46 | $(call PRINTS,LD $(@F))$(CC) $(PLUGINFLAGS) -o $(PUZZLES_OBJDIR)/$*.elf \ | 46 | $(call PRINTS,LD $(@F))$(CC) $(PLUGINFLAGS) -o $(PUZZLES_OBJDIR)/$*.elf \ |