summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Makefile
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2019-03-22 04:24:37 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2019-04-20 22:02:12 +1000
commitff6d27823f619892ab96f7461764840e0d786b15 (patch)
tree7ab191e6718c0ca8a882bde136525760db5635e8 /arch/powerpc/Makefile
parenteea86aa4171d4960f0fcdc99dab358c224d53ffe (diff)
downloadlinux-stable-ff6d27823f619892ab96f7461764840e0d786b15.tar.gz
linux-stable-ff6d27823f619892ab96f7461764840e0d786b15.tar.bz2
linux-stable-ff6d27823f619892ab96f7461764840e0d786b15.zip
powerpc: vdso: Make vdso32 installation conditional in vdso_install
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>
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r--arch/powerpc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 64b8a5ae3b75..258ea6b2f2e7 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -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)