summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/rockboy.make
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy/rockboy.make')
-rw-r--r--apps/plugins/rockboy/rockboy.make8
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/plugins/rockboy/rockboy.make b/apps/plugins/rockboy/rockboy.make
index 81e9a1f798..d7ae68c0c4 100644
--- a/apps/plugins/rockboy/rockboy.make
+++ b/apps/plugins/rockboy/rockboy.make
@@ -16,18 +16,12 @@ ROCKBOY_OBJ := $(call c2obj, $(ROCKBOY_SRC))
OTHER_SRC += $(ROCKBOY_SRC)
-ifndef SIMVER
-ifneq (,$(findstring RECORDER,$(TARGET)))
+ifeq ($(findstring YES, $(call preprocess, $(APPSDIR)/plugins/BUILD_OVERLAY)), YES)
## lowmem targets
ROCKS += $(ROCKBOY_OBJDIR)/rockboy.ovl
ROCKBOY_OUTLDS = $(ROCKBOY_OBJDIR)/rockboy.link
ROCKBOY_OVLFLAGS = -T$(ROCKBOY_OUTLDS) -Wl,--gc-sections -Wl,-Map,$(basename $@).map
else
- ### all other targets
- ROCKS += $(ROCKBOY_OBJDIR)/rockboy.rock
-endif
-else
- ### simulator
ROCKS += $(ROCKBOY_OBJDIR)/rockboy.rock
endif