diff options
| -rw-r--r-- | scripts/Makefile.lib | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 5bdfb740047e..f855c2353b42 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib | |||
| @@ -50,7 +50,7 @@ single-used-m := $(sort $(filter-out $(multi-used-m),$(obj-m))) | |||
| 50 | # Build list of the parts of our composite objects, our composite | 50 | # Build list of the parts of our composite objects, our composite |
| 51 | # objects depend on those (obviously) | 51 | # objects depend on those (obviously) |
| 52 | multi-objs-y := $(foreach m, $(multi-used-y), $($(m:.o=-objs)) $($(m:.o=-y))) | 52 | multi-objs-y := $(foreach m, $(multi-used-y), $($(m:.o=-objs)) $($(m:.o=-y))) |
| 53 | multi-objs-m := $(foreach m, $(multi-used-m), $($(m:.o=-objs)) $($(m:.o=-y))) | 53 | multi-objs-m := $(foreach m, $(multi-used-m), $($(m:.o=-objs)) $($(m:.o=-y)) $($(m:.o=-m))) |
| 54 | 54 | ||
| 55 | # $(subdir-obj-y) is the list of objects in $(obj-y) which uses dir/ to | 55 | # $(subdir-obj-y) is the list of objects in $(obj-y) which uses dir/ to |
| 56 | # tell kbuild to descend | 56 | # tell kbuild to descend |
| @@ -173,7 +173,7 @@ dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \ | |||
| 173 | # If the object belongs to two or more multi-part objects, all of them are | 173 | # If the object belongs to two or more multi-part objects, all of them are |
| 174 | # concatenated with a colon separator. | 174 | # concatenated with a colon separator. |
| 175 | modname-multi = $(subst $(space),:,$(sort $(foreach m,$(multi-used),\ | 175 | modname-multi = $(subst $(space),:,$(sort $(foreach m,$(multi-used),\ |
| 176 | $(if $(filter $*.o, $($(m:.o=-objs)) $($(m:.o=-y))),$(m:.o=))))) | 176 | $(if $(filter $*.o, $($(m:.o=-objs)) $($(m:.o=-y)) $($(m:.o=-m))),$(m:.o=))))) |
| 177 | 177 | ||
| 178 | # Useful for describing the dependency of composite objects | 178 | # Useful for describing the dependency of composite objects |
| 179 | # Usage: | 179 | # Usage: |
