![]() | |||||||||||
Messages in this thread Complete thread (EXPERIMENTAL)Patch in this message |
Perhaps it makes more sense to have vdso_install be a dependency of
modules_install rather than install, since they both put things in /lib/modules.
The installed vdso images are potentially useful for a kernel when you
aren't bothering to build or install any modules, but those images are only
ever useful for sophisticated debugging uses anyway.
Sam, any thoughts? (See arch/x86/Makefile and arch/powerpc/Makefile.) Installing the vdso files as aprt of modules_install would be unintuitive as this has nothing to do with modules. And since you wrote: useful for sophisticated debugging uses anyway
I suggest to make the vdso_install step independent as
in following patch.[Note: help docs needs to mention the new target]. This solves the issue at ahnd and still gives us the posibility to install the files should they be needed. Sam [view this diff only] diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 6845482..1c6ce35 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -176,7 +176,7 @@ define archhelp @echo ' *_defconfig - Select default config from arch/$(ARCH)/configs' endef -install: vdso_install +install: $(Q)$(MAKE) $(build)=$(boot) install vdso_install: diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 204af43..f1e739a 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -229,7 +229,7 @@ zdisk bzdisk: vmlinux fdimage fdimage144 fdimage288 isoimage: vmlinux $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) $@ -install: vdso_install +install: $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install PHONY += vdso_install | ||||||||||
![]() | |||||||||||
| Last update: 2008-02-16 12:39 [W:0.359 / U:0.050 seconds] ©2003-2005 Jasper Spaans | |||||||||||