diff options
author | Roland McGrath <roland@redhat.com> | 2007-10-02 16:30:04 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-02 22:02:43 -0400 |
commit | 8150caad02266623b5b9f58088d589f130fccd97 (patch) | |
tree | b5998315ef421001ae4fcdfbcdf41af270ac78df /arch/powerpc/Makefile | |
parent | d4243c175f127b377c881f512e7fb8ddaf2ed5e2 (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/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 | |||
169 | @echo ' *_defconfig - Select default config from arch/$(ARCH)/configs' | 169 | @echo ' *_defconfig - Select default config from arch/$(ARCH)/configs' |
170 | endef | 170 | endef |
171 | 171 | ||
172 | install: | 172 | install: vdso_install |
173 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install | 173 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install |
174 | 174 | ||
175 | vdso_install: | ||
176 | ifeq ($(CONFIG_PPC64),y) | ||
177 | $(Q)$(MAKE) $(build)=arch/$(ARCH)/kernel/vdso64 $@ | ||
178 | endif | ||
179 | $(Q)$(MAKE) $(build)=arch/$(ARCH)/kernel/vdso32 $@ | ||
180 | |||
175 | archclean: | 181 | archclean: |
176 | $(Q)$(MAKE) $(clean)=$(boot) | 182 | $(Q)$(MAKE) $(clean)=$(boot) |
177 | 183 | ||