require linux.inc require linux-openmoko.inc DESCRIPTION_${PN} = "Linux ${KERNEL_RELEASE} kernel for the Openmoko Neo GSM Smartphones" KERNEL_RELEASE = "2.6.28" KERNEL_VERSION = "${KERNEL_RELEASE}" OEV = "oe2" PV = "${KERNEL_RELEASE}-${OEV}+gitr${SRCREV}" PR = "r0" SRC_URI = "\ git://git.openmoko.org/git/kernel.git;protocol=git;branch=stable \ file://defconfig-oe.patch \ " S = "${WORKDIR}/git" CONFIG_NAME_om-gta01 = "gta01_moredrivers_defconfig" CONFIG_NAME_om-gta02 = "gta02_packaging_defconfig" CONFIG_NAME_om-gta03 = "gta03_defconfig" do_configure_prepend() { install -m 644 ./arch/arm/configs/${CONFIG_NAME} ${WORKDIR}/defconfig-oe cat ${WORKDIR}/defconfig-oe.patch | patch -p0 -d ${WORKDIR} }