aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp/module.mk
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/psp/module.mk')
-rw-r--r--backends/platform/psp/module.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/backends/platform/psp/module.mk b/backends/platform/psp/module.mk
index e9c896acfd..4652189ab4 100644
--- a/backends/platform/psp/module.mk
+++ b/backends/platform/psp/module.mk
@@ -16,10 +16,10 @@ MODULE_OBJS := powerman.o \
audio.o \
thread.o \
rtc.o \
- mp3.o
+ mp3.o \
+ tests.o
-MODULE_DIRS += \
- backends/platform/psp/
-
-# We don't use the rules.mk here on purpose
-OBJS := $(addprefix $(MODULE)/, $(MODULE_OBJS)) $(OBJS)
+# We don't use rules.mk but rather manually update OBJS and MODULE_DIRS.
+MODULE_OBJS := $(addprefix $(MODULE)/, $(MODULE_OBJS))
+OBJS := $(MODULE_OBJS) $(OBJS)
+MODULE_DIRS += $(sort $(dir $(MODULE_OBJS)))