powerpc: vdso: Make vdso32 installation conditional in vdso_install
authorBen Hutchings <ben@decadent.org.uk>
Fri, 22 Mar 2019 04:24:37 +0000 (04:24 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Apr 2019 12:02:12 +0000 (22:02 +1000)
The 32-bit vDSO is not needed and not normally built for 64-bit
little-endian configurations.  However, the vdso_install target still
builds and installs it.  Add the same config condition as is normally
used for the build.

Fixes: e0d005916994 ("powerpc/vdso: Disable building the 32-bit VDSO ...")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Makefile

index 64b8a5ae3b75f27b3fcef55f88f660cdab6c5d46..258ea6b2f2e75d1f09179f6a4fefbf378fb34fb2 100644 (file)
@@ -409,7 +409,9 @@ vdso_install:
 ifdef CONFIG_PPC64
        $(Q)$(MAKE) $(build)=arch/$(ARCH)/kernel/vdso64 $@
 endif
+ifdef CONFIG_VDSO32
        $(Q)$(MAKE) $(build)=arch/$(ARCH)/kernel/vdso32 $@
+endif
 
 archclean:
        $(Q)$(MAKE) $(clean)=$(boot)