Re: [PATCH AUTOSEL for-4.4 39/39] MIPS: Use Makefile.postlink to insert relocations into vmlinux

From: Levin, Alexander (Sasha Levin)
Date: Thu Nov 09 2017 - 11:43:10 EST


On Thu, Nov 09, 2017 at 09:16:44AM +0000, Matt Redfearn wrote:
>
>
>On 08/11/17 20:50, Levin, Alexander (Sasha Levin) wrote:
>>From: Matt Redfearn <matt.redfearn@xxxxxxxxxx>
>>
>>[ Upstream commit 44079d3509aee89c58f3e4fd929fa53ab2299019 ]
>>
>>When relocatable support for MIPS was merged, there was no support for
>>an architecture to add a postlink step for vmlinux. This meant that only
>>invoking a target within the boot directory, such as uImage, caused the
>>relocations to be inserted into vmlinux. Building just the vmlinux
>>target would result in a relocatable kernel with no relocation
>>information present.
>>
>>Commit fbe6e37dab97 ("kbuild: add arch specific post-link Makefile")
>
>Hi,
>
>This patch depends on upstream commit fbe6e37dab97 ("kbuild: add arch
>specific post-link Makefile") which was introduced in v4.9.
>
>This patch is an improvement to the build flow and I would not
>consider it for backporting - certainly not to v4.8 or earlier which
>is missing the dependency. Applying it will not break anything,
>however, it will perform no function either without the supporting
>dependency.

I'll just drop it from 4.9 and 4.4 then, Thanks Matt.

--

Thanks,
Sasha