summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index fd3faef0a7..ef4ee31aa7 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -88,6 +88,7 @@ modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \
 		testobj1_1 failobj constload2 constload3 \
 		dep1 dep2 dep3 dep4 $(modules-vis-$(have-protected))
 modules-vis-yes = vismod1 vismod2 vismod3
+modules-names := $(strip $(module-names))
 extra-objs += $(modules-names:=.os)
 
 include ../Rules