<commit_before>DESCRIPTION = "2.6 Linux Development Kernel for Zaurus devices."
SECTION = "kernel"
MAINTAINER = "<NAME> <<EMAIL>>, <NAME> <<EMAIL>>"
LICENSE = "GPL"
#KV = "${@bb.data.getVar('PV',d,True).split('-')[0]}"
KV = "${@bb.data.getVar('PV',d,True)}"

PR = "r1"

# ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-${KV}.tar.gz \
# http://www.kernel.org/pub/linux/kernel/people/alan/linux-2.6/2.6.10/patch-2.6.10-ac8.gz;patch=1 \
# http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.11-rc1-bk7.gz;patch=1 \

# These have been left in the hope JL will split his patch series...
#http://www.rpsys.net/openzaurus/${KV}/jl1/poodle_base.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/poodle_fb.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/pxa-cpu.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/locomo_kbd.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/locomo_pm.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/locomo_devices.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/locomo_lcd.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/collie_uart.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/collie_batswitch.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/collie_pcmcia.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/sharp_mtd.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/collie_use_sharp_mtd.patch;patch=1 \


SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.10.tar.gz \
	   ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.11-rc4.bz2;patch=2 \
           file://add-oz-release-string.patch;patch=1 \
           file://add-elpp-stuff.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/jl1/pxa-linking-bug.patch;patch=1 \	   
http://www.cs.wisc.edu/~lenz/zaurus/files/patch-2.6.11-rc2-jl1.diff.gz;patch=1 \
http://www.cs.wisc.edu/~lenz/zaurus/files/poodle_fix_mtd_sharpsl_part.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/rndis_fix-r0.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/w100_malloc-r1.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/corgi_kbd-r16.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/corgi_ts-r10.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/input_power-r1.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/corgi_base_extras1-r2.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/jffs2_longfilename-r0.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/corgi_power-r15.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/ide_fixes-r1.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/mmc_sd-r3.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/corgi_snd-r3.patch;patch=1 \
http://www.do13.in-berlin.de/openzaurus/tosa-machine-base.patch;patch=1 \
http://www.do13.in-berlin.de/openzaurus/tc6393_nand.patch;patch=1 \
http://www.do13.in-berlin.de/openzaurus/tc6393-device.patch;patch=1 \
file://defconfig-corgi \
file://defconfig-collie \
file://defconfig-poodle \
file://defconfig-tosa "

SRC_URI_append_tosa = " http://www.do13.in-berlin.de/openzaurus/nand-readid.patch;patch=1 \
                       http://www.do13.in-berlin.de/openzaurus/multiple-scoop-devices.patch;patch=1"
SRC_URI_append_c7x0 = " http://www.rpsys.net/openzaurus/${KV}/corgi_power1-r0.patch;patch=1"
SRC_URI_append_collie = " http://www.rpsys.net/openzaurus/${KV}/jl1/collie_keymap.patch;patch=1 "


S = "${WORKDIR}/linux-2.6.10"

inherit kernel

##############################################################
# Compensate for sucky bootloader on all Sharp Zaurus models
#
FILES_kernel = ""
ALLOW_EMPTY = 1

EXTRA_OEMAKE = "OPENZAURUS_RELEASE=-${DISTRO_VERSION}"
COMPATIBLE_HOST = "arm.*-linux"<commit_msg>openzaurus-2.6: fix corgi reference<commit_after>DESCRIPTION = "2.6 Linux Development Kernel for Zaurus devices."
SECTION = "kernel"
MAINTAINER = "<NAME> <<EMAIL>>, Michael '<NAME> <<EMAIL>>"
LICENSE = "GPL"
#KV = "${@bb.data.getVar('PV',d,True).split('-')[0]}"
KV = "${@bb.data.getVar('PV',d,True)}"

PR = "r1"

# ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-${KV}.tar.gz \
# http://www.kernel.org/pub/linux/kernel/people/alan/linux-2.6/2.6.10/patch-2.6.10-ac8.gz;patch=1 \
# http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.11-rc1-bk7.gz;patch=1 \

# These have been left in the hope JL will split his patch series...
#http://www.rpsys.net/openzaurus/${KV}/jl1/poodle_base.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/poodle_fb.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/pxa-cpu.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/locomo_kbd.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/locomo_pm.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/locomo_devices.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/locomo_lcd.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/collie_uart.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/collie_batswitch.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/collie_pcmcia.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/sharp_mtd.patch;patch=1 \
#http://www.rpsys.net/openzaurus/${KV}/jl1/collie_use_sharp_mtd.patch;patch=1 \


SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.10.tar.gz \
	   ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.11-rc4.bz2;patch=2 \
           file://add-oz-release-string.patch;patch=1 \
           file://add-elpp-stuff.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/jl1/pxa-linking-bug.patch;patch=1 \	   
http://www.cs.wisc.edu/~lenz/zaurus/files/patch-2.6.11-rc2-jl1.diff.gz;patch=1 \
http://www.cs.wisc.edu/~lenz/zaurus/files/poodle_fix_mtd_sharpsl_part.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/rndis_fix-r0.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/w100_malloc-r1.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/corgi_kbd-r16.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/corgi_ts-r10.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/input_power-r1.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/corgi_base_extras1-r2.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/jffs2_longfilename-r0.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/corgi_power-r15.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/ide_fixes-r1.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/mmc_sd-r3.patch;patch=1 \
http://www.rpsys.net/openzaurus/${KV}/corgi_snd-r3.patch;patch=1 \
http://www.do13.in-berlin.de/openzaurus/tosa-machine-base.patch;patch=1 \
http://www.do13.in-berlin.de/openzaurus/tc6393_nand.patch;patch=1 \
http://www.do13.in-berlin.de/openzaurus/tc6393-device.patch;patch=1 \
file://defconfig-c7x0 \
file://defconfig-collie \
file://defconfig-poodle \
file://defconfig-tosa "

SRC_URI_append_tosa = " http://www.do13.in-berlin.de/openzaurus/nand-readid.patch;patch=1 \
                       http://www.do13.in-berlin.de/openzaurus/multiple-scoop-devices.patch;patch=1"
SRC_URI_append_c7x0 = " http://www.rpsys.net/openzaurus/${KV}/corgi_power1-r0.patch;patch=1"
SRC_URI_append_collie = " http://www.rpsys.net/openzaurus/${KV}/jl1/collie_keymap.patch;patch=1 "


S = "${WORKDIR}/linux-2.6.10"

inherit kernel

##############################################################
# Compensate for sucky bootloader on all Sharp Zaurus models
#
FILES_kernel = ""
ALLOW_EMPTY = 1

EXTRA_OEMAKE = "OPENZAURUS_RELEASE=-${DISTRO_VERSION}"
COMPATIBLE_HOST = "arm.*-linux"
{'fraction_non_alphanumeric': 0.22862453531598512, 'fraction_numerical': 0.038502389803505045, 'mean_word_length': 4.242171189979123, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 70, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5554451', 'n_tokens_mistral': 3535, 'n_tokens_neox': 3387, 'n_words': 211}