]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/vdso: Fix build rules to rebuild vdsos correctly
authorNicholas Piggin <npiggin@gmail.com>
Tue, 9 Aug 2016 12:17:29 +0000 (22:17 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 10 Aug 2016 13:04:12 +0000 (23:04 +1000)
commit193c2a888a8260f1d80aa49639bcaf8b435d70e8
tree3babcde800ea58103662699718056348af96c925
parent41d390541cc0668f3f2b87fe07278ec0bd7a322c
powerpc/vdso: Fix build rules to rebuild vdsos correctly

When using if_changed, we need to add FORCE as a dependency (see
Documentation/kbuild/makefiles.txt) otherwise we don't get command line
change checking amongst other things. This has resulted in vdsos not
being rebuilt when switching between big and little endian.

The vdso64/32ld commands have to be changed around to avoid pulling
FORCE into the linker command line (code copied from x86).

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/vdso32/Makefile
arch/powerpc/kernel/vdso64/Makefile