ep93xx: updates
authorKoen Kooi <koen@openembedded.org>
Thu, 9 Feb 2006 16:49:06 +0000 (16:49 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 9 Feb 2006 16:49:06 +0000 (16:49 +0000)
* put some kernel modules in the rootfs
* put kernel in deploydir

conf/machine/ep93xx.conf
packages/linux/ep93xx-kernel_2.6.15.bb

index 7eed2b3..3aac1aa 100644 (file)
@@ -8,6 +8,13 @@ IPKG_ARCHS = "all arm armv5te ${MACHINE}"
 
 PREFERRED_PROVIDER_virtual/kernel = "${MACHINE}-kernel"
 
+#ship in rootfs:
+EP93XX_MODULES = "apm \
+                  pcmcia-core \
+                  ipv6 "
+BOOTSTRAP_EXTRA_RRECOMMENDS += " ${@linux_module_packages('${EP93XX_MODULES}', d)}"
+BOOTSTRAP_EXTRA_RDEPENDS_append = " udev module-init-tools"
+
 
 # used by sysvinit_2
 SERIAL_CONSOLE = "115200 ttyS0"
index 4af3c65..7c9f81a 100644 (file)
@@ -1,4 +1,4 @@
-DESCRIPTION = "Linux Kernel for Cirrus Logic ep39xxcompatible machines"
+DESCRIPTION = "Linux Kernel for Cirrus Logic ep39xx compatible machines"
 SECTION = "kernel"
 LICENSE = "GPL"
 PR = "r0"
@@ -17,3 +17,13 @@ do_configure_prepend() {
        install -m 0644 ${WORKDIR}/defconfig ${S}/.config
 }
 
+do_deploy() {
+        install -d ${DEPLOY_DIR}/images
+        install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin
+}
+
+do_deploy[dirs] = "${S}"
+
+addtask deploy before do_build after do_compile
+
+