summaryrefslogtreecommitdiff
path: root/packages/linux
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-02-11 12:35:11 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-11 12:35:11 +0000
commit97bcf248d20216aa57280b8e2b37a1e20f48c3e9 (patch)
tree023604128ce37e0648243fb659e3a4d8f86919e1 /packages/linux
parenta2ff7487f5c672bd06206e565024953949f49116 (diff)
ixp4xx-kernel: Added support for building ds101 kernels.
Diffstat (limited to 'packages/linux')
-rw-r--r--packages/linux/ixp4xx-kernel.inc16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/linux/ixp4xx-kernel.inc b/packages/linux/ixp4xx-kernel.inc
index 29b32e80d8..2ddb7cbb61 100644
--- a/packages/linux/ixp4xx-kernel.inc
+++ b/packages/linux/ixp4xx-kernel.inc
@@ -255,6 +255,20 @@ pkg_postrm_kernel-image-nslu2 () {
update-alternatives --remove ${KERNEL_IMAGETYPE} /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-nslu2${ARCH_BYTE_SEX}-${KERNEL_RELEASE} || true
}
+# The correct settings for the DS101 board:
+ds101_MACHID = "833"
+PACKAGES += "kernel-image-ds101"
+PKG_kernel-image-ds101 = "kernel-image-${KERNEL_VERSION}"
+PACKAGE_ARCH_kernel-image-ds101 = "ds101${ARCH_BYTE_SEX}"
+DESCRIPTION_kernel-image-ds101 = "Linux kernel for the Synology DS101"
+FILES_kernel-image-ds101 = "/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-ds101${ARCH_BYTE_SEX}-${KERNEL_RELEASE}"
+pkg_postinst_kernel-image-ds101 () {
+ update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-ds101${ARCH_BYTE_SEX}-${KERNEL_RELEASE} ${KERNEL_PRIORITY} || true
+}
+pkg_postrm_kernel-image-ds101 () {
+ update-alternatives --remove ${KERNEL_IMAGETYPE} /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-ds101${ARCH_BYTE_SEX}-${KERNEL_RELEASE} || true
+}
+
# The correct settings for Loft:
loft_MACHID = "849"
PACKAGES += "kernel-image-loft"
@@ -328,6 +342,7 @@ do_install_append() {
# Add the machine specific images, with appropriate suffixes
install_image 'nslu2${ARCH_BYTE_SEX}' '${nslu2_MACHID}'
+ install_image 'ds101${ARCH_BYTE_SEX}' '${ds101_MACHID}'
install_image 'loft${ARCH_BYTE_SEX}' '${loft_MACHID}'
install_image 'nas100d${ARCH_BYTE_SEX}' '${nas100d_MACHID}'
}
@@ -344,6 +359,7 @@ do_deploy() {
# And the machine specific images
deploy_image 'nslu2${ARCH_BYTE_SEX}' '${nslu2_MACHID}'
+ deploy_image 'ds101${ARCH_BYTE_SEX}' '${ds101_MACHID}'
deploy_image 'loft${ARCH_BYTE_SEX}' '${loft_MACHID}'
deploy_image 'nas100d${ARCH_BYTE_SEX}' '${nas100d_MACHID}'
}