Re: vdso_install target broken post-3.15

From: H. Peter Anvin
Date: Wed Jun 11 2014 - 11:24:39 EST


On 06/11/2014 08:20 AM, Andy Lutomirski wrote:
>
> Is vdso_install supposed to install a .so file or just a .so.dbg file?
> I'm having trouble parsing this:
>
> quiet_cmd_vdso_install = INSTALL $@
> cmd_vdso_install = cp $(obj)/$@.dbg $(MODLIB)/vdso/$@
> $(vdso-install-y): %.so: $(obj)/%.so.dbg FORCE
> @mkdir -p $(MODLIB)/vdso
> $(call cmd,vdso_install)
>
> This seems like a rather complicated way of saying that the .so.dbg is
> installed with the .dbg at the end removed. We can do that. Let me
> see if I can disentangle the makefile enough.
>

That is, indeed, what it says.

> If we need real stripped .so files, vdso2c knows how to generate them,
> but the makefile doesn't invoke it like that. I don't see why we'd
> want to install them, though.

I don't think there is any point in that.

-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/