summaryrefslogtreecommitdiff
path: root/packages/linux
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-10-26 00:13:24 +0000
committerRod Whitby <rod@whitby.id.au>2006-10-26 00:13:24 +0000
commit629f808a0adfc70e0c808ae0ee554bf8cc86602c (patch)
tree96fcbb351dc1f04f19833e3f1bb63a60f7100f93 /packages/linux
parent1e188e5d610e693cbbd8d8716907ceb1897bf8c3 (diff)
ixp4xx-kernel: Now builds an fsg3 kernel - completely untested
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 279b8fa57f..90d72001d7 100644
--- a/packages/linux/ixp4xx-kernel.inc
+++ b/packages/linux/ixp4xx-kernel.inc
@@ -309,6 +309,20 @@ pkg_postrm_kernel-image-dsmg600 () {
update-alternatives --remove ${KERNEL_IMAGETYPE} /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-dsmg600${ARCH_BYTE_SEX}-${KERNEL_RELEASE} || true
}
+# The correct settings for the FSG-3 board:
+fsg3_MACHID = "1091"
+PACKAGES += "kernel-image-fsg3"
+PKG_kernel-image-fsg3 = "kernel-image-${KERNEL_VERSION}"
+PACKAGE_ARCH_kernel-image-fsg3 = "fsg3${ARCH_BYTE_SEX}"
+DESCRIPTION_kernel-image-fsg3 = "Linux kernel for the Freecom FSG-3"
+FILES_kernel-image-fsg3 = "/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-fsg3${ARCH_BYTE_SEX}-${KERNEL_RELEASE}"
+pkg_postinst_kernel-image-fsg3 () {
+ update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-fsg3${ARCH_BYTE_SEX}-${KERNEL_RELEASE} ${KERNEL_PRIORITY} || true
+}
+pkg_postrm_kernel-image-fsg3 () {
+ update-alternatives --remove ${KERNEL_IMAGETYPE} /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-fsg3${ARCH_BYTE_SEX}-${KERNEL_RELEASE} || true
+}
+
#FIXUP: the correct instructions to copy the kernel prepended with the le fixup
#FIXME: do a fixup for BE too...
FIXUP_armeb = "cp$"
@@ -358,6 +372,7 @@ do_install_append() {
install_image 'loft${ARCH_BYTE_SEX}' '${loft_MACHID}'
install_image 'nas100d${ARCH_BYTE_SEX}' '${nas100d_MACHID}'
install_image 'dsmg600${ARCH_BYTE_SEX}' '${dsmg600_MACHID}'
+ install_image 'fsg3${ARCH_BYTE_SEX}' '${fsg3_MACHID}'
}
do_deploy[dirs] = "${S}"
@@ -376,6 +391,7 @@ do_deploy() {
deploy_image 'loft${ARCH_BYTE_SEX}' '${loft_MACHID}'
deploy_image 'nas100d${ARCH_BYTE_SEX}' '${nas100d_MACHID}'
deploy_image 'dsmg600${ARCH_BYTE_SEX}' '${dsmg600_MACHID}'
+ deploy_image 'fsg3${ARCH_BYTE_SEX}' '${fsg3_MACHID}'
}
addtask deploy before do_build after do_compile