Message ID | 1402018263-30670-6-git-send-email-yamada.m@jp.panasonic.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/scripts/Makefile.host b/scripts/Makefile.host index b0e1a64..4bb237b 100644 --- a/scripts/Makefile.host +++ b/scripts/Makefile.host @@ -68,6 +68,8 @@ host-objdirs := $(foreach f,$(__hostprogs), $(dir $(f))) host-objdirs += $(foreach f,$(__hostprogs), \ $(foreach m,$($(f)-objs) $($(f)-cxxobjs), \ $(dir $(m)))) +# directory of .o files from shlib-objs notation +host-objdirs += $(foreach m,$(host-cshobjs), $(dir $(m))) host-objdirs := $(strip $(sort $(filter-out ./,$(host-objdirs))))
Assume we have a Makefile like this: hostprogs-y := foo foo-objs := bar.o baz.so baz-objs := qux/quux.o In this case, Kbuild fails to create qux/ directory. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> --- scripts/Makefile.host | 2 ++ 1 file changed, 2 insertions(+)