diff options
author | Roland McGrath <roland@redhat.com> | 2007-10-02 13:30:04 -0700 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-03 12:02:43 +1000 |
commit | 8150caad02266623b5b9f58088d589f130fccd97 (patch) | |
tree | b5998315ef421001ae4fcdfbcdf41af270ac78df /arch/powerpc/Makefile | |
parent | d4243c175f127b377c881f512e7fb8ddaf2ed5e2 (diff) | |
download | linux-8150caad02266623b5b9f58088d589f130fccd97.tar.gz linux-8150caad02266623b5b9f58088d589f130fccd97.tar.bz2 linux-8150caad02266623b5b9f58088d589f130fccd97.zip |
[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/Makefile | 8 |
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 @echo ' *_defconfig - Select default config from arch/$(ARCH)/configs' endef -install: +install: vdso_install $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install +vdso_install: +ifeq ($(CONFIG_PPC64),y) + $(Q)$(MAKE) $(build)=arch/$(ARCH)/kernel/vdso64 $@ +endif + $(Q)$(MAKE) $(build)=arch/$(ARCH)/kernel/vdso32 $@ + archclean: $(Q)$(MAKE) $(clean)=$(boot) |