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)
commitb9a4a0d02c5b8d9a1397c11d741d2a1a56381178
tree3babcde800ea58103662699718056348af96c925
parent164af597ce945751e2dcd53d0a86e84203a6d117
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
This page took 0.024918 seconds and 5 git commands to generate.