summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-gumstix_2.6.15.bb
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/linux/linux-gumstix_2.6.15.bb
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/linux/linux-gumstix_2.6.15.bb')
-rw-r--r--recipes/linux/linux-gumstix_2.6.15.bb109
1 files changed, 109 insertions, 0 deletions
diff --git a/recipes/linux/linux-gumstix_2.6.15.bb b/recipes/linux/linux-gumstix_2.6.15.bb
new file mode 100644
index 0000000000..1812148f6e
--- /dev/null
+++ b/recipes/linux/linux-gumstix_2.6.15.bb
@@ -0,0 +1,109 @@
+DESCRIPTION = "Linux Kernel for the Gumstix"
+SECTION = "kernel"
+LICENSE = "GPL"
+PR = "r2"
+
+DEPENDS = "u-boot-utils-native"
+
+COMPATIBLE_MACHINE = "gumstix"
+
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+ cvs://anoncvs:anoncvs@cvs.infradead.org/home/cvs;module=mtd;date=20060223 \
+ file://defconfig-gumstix \
+ file://arch-config.patch;patch=1 \
+ file://board-init.patch;patch=1 \
+ file://compact-flash.patch;patch=1 \
+ file://defconfig.patch;patch=1 \
+ file://flash.patch;patch=1 \
+ file://header.patch;patch=1 \
+ file://kconfig-arch-cleanup.patch;patch=1 \
+ file://pxa255-gpio-count-bugfix.patch;patch=1 \
+ file://pxa2xx_udc.patch;patch=1 \
+ file://bkpxa-pxa-cpu.patch;patch=1 \
+ file://bkpxa-pxa-cpufreq.patch;patch=1 \
+ file://bkpxa-pxa-ac97.patch;patch=1 \
+ file://rmk-2022-2-rtctime-sa110-pxa255-driver.patch;patch=1 \
+ file://proc-gpio.patch;patch=1 \
+ file://serial-ether-addr.patch;patch=1 \
+ file://cpufreq-better-freqs.patch;patch=1 \
+ file://ethernet-config.patch;patch=1 \
+ file://smc-ether-addr.patch;patch=1 \
+ file://audio.patch;patch=1 \
+ file://cpufreq-ondemand-by-default.patch;patch=1 \
+ file://modular-init-bluetooth.patch;patch=1 \
+ file://modular-init-smc91x.patch;patch=1 \
+ file://modular-init-usb-gadget.patch;patch=1 \
+ file://bugfix-i2c-include.patch;patch=1 \
+ file://bugfix-mmc-clock.patch;patch=1 \
+ file://bugfix-mtd-onenand.patch;patch=1 \
+ file://bugfix-pxa-audio.patch;patch=1 \
+ file://bugfix-pxa-cpufreq.patch;patch=1 \
+ file://bugfix-pxa-serial-mctrl.patch;patch=1 \
+ file://bugfix-rndis.patch;patch=1 \
+ file://bugfix-serial-interrupt.patch;patch=1 \
+ file://bugfix-serial-register-status.patch;patch=1 \
+ file://mach-types-fix.patch;patch=1 \
+ file://mmc-version4.patch;patch=1 \
+ file://kernel-osx.patch;patch=1 \
+ file://ucb1400-touchscreen.patch;patch=1 \
+ file://add_input_randomness_export.patch;patch=1 \
+ file://kobject_get_path_export.patch;patch=1 \
+ file://ucb1400-ac97-audio.patch;patch=1 \
+ file://i2c-gpl-module-fix.patch;patch=1 \
+ file://disable-uncompress-message.patch;patch=1 \
+ file://gumstix-mmc.patch;patch=1 \
+ file://rmk_pxa_mmc_timeout.patch;patch=1"
+
+S = "${WORKDIR}/linux-${PV}"
+
+inherit kernel
+
+COMPATIBLE_HOST = "arm.*-linux"
+ARCH = "arm"
+KERNEL_IMAGETYPE = "uImage"
+
+do_unpack_extra() {
+ cd ${WORKDIR}/mtd
+ ./patchkernel.sh -c -2 -y ${WORKDIR}/linux-${PV}
+}
+addtask unpack_extra after do_unpack before do_patch
+
+do_configure_prepend() {
+ install -m 0644 ${WORKDIR}/defconfig-gumstix ${S}/.config
+}
+
+do_deploy_append() {
+ ${HOST_PREFIX}objcopy -O binary -R .note -R .comment -S arch/arm/boot/compressed/vmlinux arch/arm/boot/compressed/linux.bin
+ mkimage -A arm -O linux -T kernel -C none -a 0xa0008000 -e 0xa0008000 -n "gumstix" -d arch/arm/boot/compressed/linux.bin arch/arm/boot/uImage
+ install -d ${DEPLOY_DIR_IMAGE}
+ cp arch/arm/boot/uImage ${DEPLOY_DIR_IMAGE}/uImage-${PN}-${PV}
+}
+
+PACKAGES += "kernel-modules-sound kernel-modules-bluetooth kernel-modules-pcmcia kernel-modules-ide kernel-modules-ethernet kernel-modules-wireless kernel-modules-usb kernel-modules-mmc kernel-modules-fat kernel-modules-nfs"
+
+ALLOW_EMPTY_kernel-modules-sound = "1"
+ALLOW_EMPTY_kernel-modules-bluetooth = "1"
+ALLOW_EMPTY_kernel-modules-pcmcia = "1"
+ALLOW_EMPTY_kernel-modules-ide = "1"
+ALLOW_EMPTY_kernel-modules-ethernet = "1"
+ALLOW_EMPTY_kernel-modules-wireless = "1"
+ALLOW_EMPTY_kernel-modules-usb = "1"
+ALLOW_EMPTY_kernel-modules-mmc = "1"
+ALLOW_EMPTY_kernel-modules-fat = "1"
+ALLOW_EMPTY_kernel-modules-nfs = "1"
+
+RDEPENDS_kernel-modules-sound = "kernel-module-soundcore kernel-module-snd kernel-module-snd-timer kernel-module-snd-pxa2xx-pcm kernel-module-snd-pxa2xx-ac97 kernel-module-snd-pcm kernel-module-snd-pcm-oss kernel-module-snd-page-alloc kernel-module-snd-mixer-oss kernel-module-snd-ac97-codec kernel-module-snd-ac97-bus"
+RDEPENDS_kernel-modules-bluetooth = "kernel-module-bluetooth kernel-module-bnep kernel-module-gumstix-bluetooth kernel-module-hci-uart kernel-module-l2cap kernel-module-sco kernel-module-rfcomm"
+RDEPENDS_kernel-modules-pcmcia = "kernel-module-pcmcia-core kernel-module-pcmcia kernel-module-pxa2xx-core kernel-module-pxa2xx-cs "
+RDEPENDS_kernel-modules-ide = "kernel-modules-pcmcia kernel-module-ide-core kernel-module-ide-cs kernel-module-ide-disk kernel-module-ide-generic kernel-module-firmware-class"
+RDEPENDS_kernel-modules-ethernet = "kernel-module-mii kernel-module-smc91x kernel-module-gumstix-smc91x"
+RDEPENDS_kernel-modules-wireless = "kernel-module-ieee80211 kernel-module-ieee80211-crypt kernel-module-ieee80211-crypt-wep kernel-modules-pcmcia kernel-module-hermes kernel-module-hostap-cs kernel-module-hostap kernel-module-orinoco kernel-module-orinoco-cs kernel-module-spectrum-cs"
+RDEPENDS_kernel-modules-usb = "kernel-module-gumstix-gadget kernel-module-g-ether kernel-module-pxa2xx-udc "
+RDEPENDS_kernel-modules-mmc = "kernel-module-mmc-core kernel-module-mmc-block kernel-module-pxamci"
+RDEPENDS_kernel-modules-fat = "kernel-module-vfat kernel-module-nls-base kernel-module-fat kernel-module-nls-cp437 kernel-module-nls-iso8859-1"
+RDEPENDS_kernel-modules-nfs = "kernel-module-nfs kernel-module-sunrpc kernel-module-lockd"
+
+module_autoload_pxamci = "pxamci"
+module_autoload_mmc_block = "mmc_block"
+module_autoload_gumstix_gadget = "gumstix_gadget"
+module_autoload_g_ether = "g_ether"