summaryrefslogtreecommitdiff
path: root/packages/linux/linux-storcenter_2.6.15.7.bb
diff options
context:
space:
mode:
authorDaniel Willmann <daniel@totalueberwachung.de>2008-01-17 19:23:03 +0000
committerDaniel Willmann <daniel@totalueberwachung.de>2008-01-17 19:23:03 +0000
commit5f89da2c9521b9bff73a34b933929c1767c454ae (patch)
treea6eb507e8e20dbbc500655ea515ece4cb5500bd9 /packages/linux/linux-storcenter_2.6.15.7.bb
parent1bf5c3346ac395825d49f895922a61bcdbb238e5 (diff)
parent3c378f37f55ee00c41fce4897f8a09cb51b59f94 (diff)
merge of '15abe433106a3416f43fe1507eb0032a960434bb'
and '2538d8c9c6f9647baba548394a1e20a2e4467a19'
Diffstat (limited to 'packages/linux/linux-storcenter_2.6.15.7.bb')
-rw-r--r--packages/linux/linux-storcenter_2.6.15.7.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/packages/linux/linux-storcenter_2.6.15.7.bb b/packages/linux/linux-storcenter_2.6.15.7.bb
new file mode 100644
index 0000000000..4895b2174e
--- /dev/null
+++ b/packages/linux/linux-storcenter_2.6.15.7.bb
@@ -0,0 +1,36 @@
+DESCRIPTION = "Linux Kernel for the Iomega storcenter platform"
+SECTION = "kernel"
+LICENSE = "GPL"
+DEPENDS = "u-boot-utils-native"
+PR = "r1"
+
+COMPATIBLE_MACHINE = "storcenter"
+
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+ file://kernel.patch-${PV};patch=1 \
+ file://defconfig-${PV} "
+
+S = "${WORKDIR}/linux-${PV}"
+
+inherit kernel
+
+export ARCH = "ppc"
+
+KERNEL_IMAGETYPE = "uImage"
+KERNEL_OUTPUT = "arch/${ARCH}/boot/images/${KERNEL_IMAGETYPE}"
+
+do_configure() {
+ install -m 644 ${WORKDIR}/defconfig-${PV} ${S}/.config
+ make ARCH=${ARCH} oldconfig
+}
+
+do_deploy() {
+ install -d ${DEPLOY_DIR_IMAGE}
+ install -m 0644 ${KERNEL_OUTPUT} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}
+}
+
+do_deploy[dirs] = "${S}"
+
+addtask deploy before do_build after do_compile
+
+