aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2007-10-02 16:30:04 -0400
committerPaul Mackerras <paulus@samba.org>2007-10-02 22:02:43 -0400
commit8150caad02266623b5b9f58088d589f130fccd97 (patch)
treeb5998315ef421001ae4fcdfbcdf41af270ac78df /arch/powerpc/Makefile
parentd4243c175f127b377c881f512e7fb8ddaf2ed5e2 (diff)
[POWERPC] powerpc vDSO: install unstripped copies on disk
This keeps an unstripped copy of the vDSO images built before they are stripped and embedded in the kernel. The unstripped copies get installed in $(MODLIB)/vdso/ by "make install". These files can be useful when they contain source-level debugging information. Signed-off-by: Roland McGrath <roland@redhat.com> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r--arch/powerpc/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 71632b20b81d..dc2d18e93002 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -169,9 +169,15 @@ define archhelp
169 @echo ' *_defconfig - Select default config from arch/$(ARCH)/configs' 169 @echo ' *_defconfig - Select default config from arch/$(ARCH)/configs'
170endef 170endef
171 171
172install: 172install: vdso_install
173 $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install 173 $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install
174 174
175vdso_install:
176ifeq ($(CONFIG_PPC64),y)
177 $(Q)$(MAKE) $(build)=arch/$(ARCH)/kernel/vdso64 $@
178endif
179 $(Q)$(MAKE) $(build)=arch/$(ARCH)/kernel/vdso32 $@
180
175archclean: 181archclean:
176 $(Q)$(MAKE) $(clean)=$(boot) 182 $(Q)$(MAKE) $(clean)=$(boot)
177 183