DESCRIPTION = "Linux kernel x86 for IBM Netvista"
LICENSE     = "GPL"
PR          = "r4"

SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.4/linux-${PV}.tar.bz2 \
           file://netvista_defconfig"
S = "${WORKDIR}/linux-${PV}"

COMPATIBLE_HOST='i.86.*-linux'

inherit kernel

KERNEL_CCSUFFIX = "-3.3.4"
ARCH = "i386"
KERNEL_IMAGETYPE = "bzImage"

# Avoid getting the kernel in the rootfs
FILES_kernel = ""
ALLOW_EMPTY_kernel = "1"
PACKAGES += "kernel-image"
FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"

do_configure_prepend() {
	install -m 0644 ${WORKDIR}/netvista_defconfig ${S}/.config
}