diff options
Diffstat (limited to 'backends/platform/samsungtv/module.mk')
-rw-r--r-- | backends/platform/samsungtv/module.mk | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/backends/platform/samsungtv/module.mk b/backends/platform/samsungtv/module.mk index 1d3bb7aefe..36ad75da6d 100644 --- a/backends/platform/samsungtv/module.mk +++ b/backends/platform/samsungtv/module.mk @@ -4,8 +4,7 @@ MODULE_OBJS := \ main.o \ samsungtv.o -MODULE_DIRS += \ - backends/platform/samsungtv/ - -# 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))) |