diff options
author | Rod Whitby <rod@whitby.id.au> | 2006-10-26 00:14:55 +0000 |
---|---|---|
committer | Rod Whitby <rod@whitby.id.au> | 2006-10-26 00:14:55 +0000 |
commit | 529911a67e564b4c8ff9580e2ca0d5e85b638671 (patch) | |
tree | dc72586a0d2b147ed0cbbb5fa685a630cd906ce9 /packages | |
parent | 6167e546c495443fa4f0cc2a2aa0cd4fa6a57818 (diff) | |
parent | 629f808a0adfc70e0c808ae0ee554bf8cc86602c (diff) |
merge of '70ce29b385336e849086126b404655b06425352b'
and 'cdc680936697f38f1dd48f21ad2c10f1016cc3e8'
Diffstat (limited to 'packages')
-rw-r--r-- | packages/linux/ixp4xx-kernel.inc | 16 |
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 |