summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-02-09 16:49:06 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-09 16:49:06 +0000
commit7069065ff05ea9e7c9714d521a7d2f9818fe23b6 (patch)
treecb8582a46395128cbbab311c8cf8aa0a4c3816c2
parentdcff4200f2d57e6fa727ff95e3e67cf92d255c0c (diff)
ep93xx: updates
* put some kernel modules in the rootfs * put kernel in deploydir
-rw-r--r--conf/machine/ep93xx.conf7
-rw-r--r--packages/linux/ep93xx-kernel_2.6.15.bb12
2 files changed, 18 insertions, 1 deletions
diff --git a/conf/machine/ep93xx.conf b/conf/machine/ep93xx.conf
index 7eed2b3748..3aac1aad74 100644
--- a/conf/machine/ep93xx.conf
+++ b/conf/machine/ep93xx.conf
@@ -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"
diff --git a/packages/linux/ep93xx-kernel_2.6.15.bb b/packages/linux/ep93xx-kernel_2.6.15.bb
index 4af3c65927..7c9f81a924 100644
--- a/packages/linux/ep93xx-kernel_2.6.15.bb
+++ b/packages/linux/ep93xx-kernel_2.6.15.bb
@@ -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
+
+