diff options
author | Oyvind Repvik <nail@nslu2-linux.org> | 2007-04-08 11:05:51 +0000 |
---|---|---|
committer | Oyvind Repvik <nail@nslu2-linux.org> | 2007-04-08 11:05:51 +0000 |
commit | ab558e457be74f9cfac93e8404fdc72f70f967b0 (patch) | |
tree | a09d272218f2e3a387d3b7926234e0389349c0a4 /packages/linux/linux-linkstationarm_2.6.12.bb | |
parent | 80c890df5d16c6660bd4827eadbffed293792eef (diff) |
linux-linkstationarm: Add kernel for the ARM-based linkstation
Diffstat (limited to 'packages/linux/linux-linkstationarm_2.6.12.bb')
-rw-r--r-- | packages/linux/linux-linkstationarm_2.6.12.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/packages/linux/linux-linkstationarm_2.6.12.bb b/packages/linux/linux-linkstationarm_2.6.12.bb new file mode 100644 index 0000000000..77703ad999 --- /dev/null +++ b/packages/linux/linux-linkstationarm_2.6.12.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "Linux Kernel for ARM based Buffalo Linkstations" +SECTION = "kernel" +LICENSE = "GPL" +PR = "r2" + +COMPATIBLE_MACHINE = "lsarm" + +SRC_URI = "http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.12.tar.bz2 \ + http://downloads.linkstationwiki.net/Users/timtimred/lsarm/2.6.12-compiler_fix.patch;patch=1 \ + file://makefile.patch;patch=1 \ + file://defconfig \ + " + +S = "${WORKDIR}/linux-2.6.12" + +inherit kernel + +export ARCH="arm" + +KERNEL_IMAGETYPE = "uImage" + +do_configure() { + install -m 0644 ${WORKDIR}/defconfig ${S}/.config + ARCH=${ARCH} oe_runmake oldconfig +} + +do_deploy() { + install -d ${DEPLOY_DIR_IMAGE} + install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/vmlinux.UBoot +} + +do_deploy[dirs] = "${S}" + +addtask deploy before do_build after do_compile + |