diff options
Diffstat (limited to 'linux/linux-sun4cdm_2.4.26.oe')
-rw-r--r-- | linux/linux-sun4cdm_2.4.26.oe | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/linux/linux-sun4cdm_2.4.26.oe b/linux/linux-sun4cdm_2.4.26.oe index e69de29bb2..5075523179 100644 --- a/linux/linux-sun4cdm_2.4.26.oe +++ b/linux/linux-sun4cdm_2.4.26.oe @@ -0,0 +1,32 @@ +SECTION = "kernel" +DESCRIPTION = "Linux kernel for sparc32/sun4c" +LICENSE = "GPL" +PR = "r0" +DEPENDS += "elftoaout-native" + +KERNEL_CCSUFFIX = "-3.3.4" + +SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${PV}.tar.bz2 \ + file://defconfig" +S = "${WORKDIR}/linux-${PV}" + +COMPATIBLE_HOST = 'sparc-linux' + +inherit kernel + +ARCH = "sparc" +KERNEL_IMAGETYPE = "vmlinux" +KERNEL_OUTPUT = "vmlinux" + +do_configure_prepend() { + install -m 0644 ${WORKDIR}/defconfig ${S}/.config +} + +do_deploy() { + install -d ${DEPLOY_DIR}/images + elftoaout -o ${DEPLOY_DIR}/images/linux-aout-${DATETIME} ${KERNEL_IMAGETYPE} +} + +do_deploy[dirs] = "${S}" + +addtask deploy before do_build after do_compile |