powerpc: Use always instead of always-y in for crtsavres.o
This commit is for linux-5.4.y only, it has no direct upstream equivalent. Prior to commit 5f2fb52f ("kbuild: rename hostprogs-y/always to hostprogs/always-y"), always-y did not exist, making the backport of mainline commit 1b1e3800 ("powerpc: add crtsavres.o to always-y instead of extra-y") to linux-5.4.y as commit 245da9ee ("powerpc: add crtsavres.o to always-y instead of extra-y") incorrect, breaking the build with linkers that need crtsavres.o: ld.lld: error: cannot open arch/powerpc/lib/crtsavres.o: No such file or directory Backporting the aforementioned kbuild commit is not suitable for stable due to its size and number of conflicts, so transform the always-y usage to an equivalent form using always, which resolves the build issues. Fixes: 245da9ee ("powerpc: add crtsavres.o to always-y instead of extra-y") Signed-off-by:Nathan Chancellor <nathan@kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please sign in to comment