diff options
Diffstat (limited to 'apps/plugins/chessbox')
-rw-r--r-- | apps/plugins/chessbox/chessbox.make | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/plugins/chessbox/chessbox.make b/apps/plugins/chessbox/chessbox.make index 7611b5bb1a..357130cb74 100644 --- a/apps/plugins/chessbox/chessbox.make +++ b/apps/plugins/chessbox/chessbox.make | |||
@@ -15,18 +15,12 @@ CHESSBOX_OBJ := $(call c2obj, $(CHESSBOX_SRC)) | |||
15 | 15 | ||
16 | OTHER_SRC += $(CHESSBOX_SRC) | 16 | OTHER_SRC += $(CHESSBOX_SRC) |
17 | 17 | ||
18 | ifndef SIMVER | 18 | ifeq ($(findstring YES, $(call preprocess, $(APPSDIR)/plugins/BUILD_OVERLAY)), YES) |
19 | ifneq (,$(strip $(foreach tgt,RECORDER ONDIO,$(findstring $(tgt),$(TARGET))))) | ||
20 | ### lowmem targets | 19 | ### lowmem targets |
21 | ROCKS += $(CHESSBOX_OBJDIR)/chessbox.ovl | 20 | ROCKS += $(CHESSBOX_OBJDIR)/chessbox.ovl |
22 | CHESSBOX_OUTLDS = $(CHESSBOX_OBJDIR)/chessbox.link | 21 | CHESSBOX_OUTLDS = $(CHESSBOX_OBJDIR)/chessbox.link |
23 | CHESSBOX_OVLFLAGS = -T$(CHESSBOX_OUTLDS) -Wl,--gc-sections -Wl,-Map,$(basename $@).map | 22 | CHESSBOX_OVLFLAGS = -T$(CHESSBOX_OUTLDS) -Wl,--gc-sections -Wl,-Map,$(basename $@).map |
24 | else | 23 | else |
25 | ### all other targets | ||
26 | ROCKS += $(CHESSBOX_OBJDIR)/chessbox.rock | ||
27 | endif | ||
28 | else | ||
29 | ### simulator | ||
30 | ROCKS += $(CHESSBOX_OBJDIR)/chessbox.rock | 24 | ROCKS += $(CHESSBOX_OBJDIR)/chessbox.rock |
31 | endif | 25 | endif |
32 | 26 | ||