From 7069065ff05ea9e7c9714d521a7d2f9818fe23b6 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 9 Feb 2006 16:49:06 +0000 Subject: ep93xx: updates * put some kernel modules in the rootfs * put kernel in deploydir --- conf/machine/ep93xx.conf | 7 +++++++ packages/linux/ep93xx-kernel_2.6.15.bb | 12 +++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) 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 + + -- cgit v1.2.3