[oe-commits] Chris Larson : kernel.bbclass: Install & package symvers as /boot/Module. symvers-<ver>.

git version control git at git.openembedded.org
Mon Aug 24 21:12:06 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 278cec5e0eba9ce1d18ac4eb0699ce3ee167168f
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=278cec5e0eba9ce1d18ac4eb0699ce3ee167168f

Author: Chris Larson <clarson at mvista.com>
Date:   Tue Jul 28 12:29:51 2009 -0700

kernel.bbclass: Install & package symvers as /boot/Module.symvers-<ver>.

Signed-off-by: Chris Larson <clarson at mvista.com>
Acked-by: Michael Smith <msmith at cbnco.com>

---

 classes/kernel.bbclass |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index d084cef..4cf5bed 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -182,6 +182,7 @@ kernel_do_install() {
 	install -m 0644 System.map ${D}/boot/System.map-${KERNEL_VERSION}
 	install -m 0644 .config ${D}/boot/config-${KERNEL_VERSION}
 	install -m 0644 vmlinux ${D}/boot/vmlinux-${KERNEL_VERSION}
+	[ -e Module.symvers ] && install -m 0644 Module.symvers ${D}/boot/Module.symvers-${KERNEL_VERSION}
 	install -d ${D}/etc/modutils
 	if [ "${KERNEL_MAJOR_VERSION}" = "2.6" ]; then
 		install -d ${D}/etc/modprobe.d
@@ -232,7 +233,7 @@ EXPORT_FUNCTIONS do_compile do_install do_stage do_configure
 PACKAGES = "kernel kernel-base kernel-image kernel-dev kernel-vmlinux"
 FILES = ""
 FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"
-FILES_kernel-dev = "/boot/System.map* /boot/config*"
+FILES_kernel-dev = "/boot/System.map* /boot/Module.symvers* /boot/config*"
 FILES_kernel-vmlinux = "/boot/vmlinux*"
 RDEPENDS_kernel = "kernel-base"
 RRECOMMENDS_kernel-module-hostap-cs += '${@base_version_less_or_equal("KERNEL_VERSION", "2.6.17", "", "apm-wifi-suspendfix", d)}'





More information about the Openembedded-commits mailing list