2007-01-30 22:20:22 +00:00
|
|
|
SECTION = "kernel"
|
|
|
|
DESCRIPTION = "Linux kernel for Nokia 770/800"
|
|
|
|
LICENSE = "GPL"
|
|
|
|
|
|
|
|
KERNEL_OUTPUT = "arch/${ARCH}/boot/compressed/${KERNEL_IMAGETYPE}"
|
2008-01-25 12:12:13 +00:00
|
|
|
KERNEL_CCSUFFIX = "-3.4.4+csl-arm-2005q3-2"
|
2007-01-30 22:20:22 +00:00
|
|
|
|
|
|
|
inherit kernel
|
|
|
|
|
|
|
|
RPROVIDES_kernel-image = "hostap-modules"
|
|
|
|
|
|
|
|
COMPATIBLE_MACHINE = "nokia770|nokia800"
|
|
|
|
|
2007-04-17 16:27:28 +00:00
|
|
|
RPSRC = "http://www.rpsys.net/openzaurus/patches/archive"
|
|
|
|
|
2007-01-30 22:20:22 +00:00
|
|
|
do_configure_prepend() {
|
|
|
|
|
|
|
|
rm -f ${S}/.config || true
|
|
|
|
|
2007-02-21 17:18:42 +00:00
|
|
|
if [ "${TARGET_OS}" = "linux-gnueabi" -o "${TARGET_OS}" = "linux-uclibcgnueabi" ]; then
|
2007-01-30 22:20:22 +00:00
|
|
|
echo "CONFIG_AEABI=y" >> ${S}/.config
|
|
|
|
echo "CONFIG_OABI_COMPAT=y" >> ${S}/.config
|
|
|
|
else
|
|
|
|
echo "# CONFIG_AEABI is not set" >> ${S}/.config
|
|
|
|
echo "# CONFIG_OABI_COMPAT is not set" >> ${S}/.config
|
|
|
|
fi
|
|
|
|
|
|
|
|
sed -e '/CONFIG_AEABI/d' \
|
|
|
|
-e '/CONFIG_OABI_COMPAT=/d' \
|
|
|
|
'${WORKDIR}/defconfig' >>'${S}/.config'
|
|
|
|
|
|
|
|
yes '' | oe_runmake oldconfig
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
do_deploy() {
|
2007-04-17 13:42:14 +00:00
|
|
|
install -d ${DEPLOY_DIR_IMAGE}
|
|
|
|
install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin
|
2007-10-19 10:22:01 +00:00
|
|
|
cd ${DEPLOY_DIR_IMAGE}
|
|
|
|
ln -sf ${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${KERNEL_IMAGETYPE}-${MACHINE}.bin
|
2007-04-17 13:42:14 +00:00
|
|
|
tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib
|
2007-01-30 22:20:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_deploy[dirs] = "${S}"
|
|
|
|
|
2007-09-17 08:16:44 +00:00
|
|
|
addtask deploy before do_populate_staging after do_install
|