diff options
author | Nigel Kostiuck <emte@labotomy.net> | 2004-12-09 22:29:30 +0000 |
---|---|---|
committer | Nigel Kostiuck <emte@labotomy.net> | 2004-12-09 22:29:30 +0000 |
commit | 9f29948adec0e69b5ec47b712f99b8e9cba52e6f (patch) | |
tree | 82b22116050c768bc2737518fe906313fc7de715 /packages | |
parent | 85f320d50f9756d1a4e63774721796410e79e433 (diff) |
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into t.(none):/home/OE/speedracer/packages
2004/12/09 16:29:29-06:00 ti.com!kergoth
In some kernel packages, move the set of PACKAGE_ARCH to below the inherit of kernel.
BKrev: 41b8d1capsuSJAmgsLcGU1QsukrfIA
Diffstat (limited to 'packages')
-rw-r--r-- | packages/linux/handhelds-pxa-2.6_2.6.6-hh0.bb | 30 | ||||
-rw-r--r-- | packages/linux/handhelds-pxa-2.6_2.6.8.1-hh0.bb | 30 | ||||
-rw-r--r-- | packages/linux/handhelds-pxa-2.6_cvs.bb | 30 | ||||
-rw-r--r-- | packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh36.12.bb | 58 | ||||
-rw-r--r-- | packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh36.13.bb | 58 | ||||
-rw-r--r-- | packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh36.14.bb | 59 | ||||
-rw-r--r-- | packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh37.1.bb | 65 | ||||
-rw-r--r-- | packages/linux/handhelds-sa-2.6_cvs.bb | 24 | ||||
-rw-r--r-- | packages/linux/handhelds-sa_2.4.19-rmk6-pxa1-hh36.12.bb | 58 | ||||
-rw-r--r-- | packages/linux/handhelds-sa_2.4.19-rmk6-pxa1-hh37.1.bb | 57 | ||||
-rw-r--r-- | packages/linux/linux-mtx-1_2.4.24.bb | 64 | ||||
-rw-r--r-- | packages/linux/linux-mtx-1_2.4.27.bb | 64 | ||||
-rw-r--r-- | packages/linux/linux-xxs1500_2.4.21.bb | 36 |
13 files changed, 633 insertions, 0 deletions
diff --git a/packages/linux/handhelds-pxa-2.6_2.6.6-hh0.bb b/packages/linux/handhelds-pxa-2.6_2.6.6-hh0.bb index e69de29bb2..c66b6e21ba 100644 --- a/packages/linux/handhelds-pxa-2.6_2.6.6-hh0.bb +++ b/packages/linux/handhelds-pxa-2.6_2.6.6-hh0.bb @@ -0,0 +1,30 @@ +SECTION = "kernel" +DESCRIPTION = "handhelds.org Linux kernel for StrongArm processor based devices." +MAINTAINER = "Greg Gilbert <greg@treke.net>" +LICENSE = "GPL" +# +KERNEL_CCSUFFIX = "-3.3.4" +COMPATIBLE_HOST = "arm.*-linux" + +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/handhelds-pxa-${PV}" + +SRC_URI = "http://handhelds.org/~michaelo/ipaq/kernel/linux-2.6.6-hh0.tar.bz2 \ + file://defconfig-${MACHINE}" + +S = "${WORKDIR}/linux-2.6.6-hh0" + +inherit kernel + +PACKAGE_ARCH = "ipaqpxa" + +K_MAJOR = "2" +K_MINOR = "6" +K_MICRO = "6" +HHV = "0" +# + +KERNEL_PRIORITY = "${@'%d' % (int(bb.data.getVar('K_MAJOR',d,1)) * 100000000 + int(bb.data.getVar('K_MINOR',d,1)) * 1000000 + int(bb.data.getVar('K_MICRO',d,1)) * 10000 + float(bb.data.getVar('HHV',d,1)))}" +do_configure() { + install -m 0644 ${WORKDIR}/defconfig-${MACHINE} ${S}/.config || die "No default configuration for ${MACHINE} available." + (echo N; echo m; echo N) | oe_runmake oldconfig +} diff --git a/packages/linux/handhelds-pxa-2.6_2.6.8.1-hh0.bb b/packages/linux/handhelds-pxa-2.6_2.6.8.1-hh0.bb index e69de29bb2..a65204af08 100644 --- a/packages/linux/handhelds-pxa-2.6_2.6.8.1-hh0.bb +++ b/packages/linux/handhelds-pxa-2.6_2.6.8.1-hh0.bb @@ -0,0 +1,30 @@ +SECTION = "kernel" +DESCRIPTION = "handhelds.org Linux kernel for StrongArm processor based devices." +MAINTAINER = "Greg Gilbert <greg@treke.net>" +LICENSE = "GPL" +# +KERNEL_CCSUFFIX = "-3.3.4" +COMPATIBLE_HOST = "arm.*-linux" + +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/handhelds-pxa-${PV}" +DEFCONFIG = "defconfig-${MACHINE}_2.6.8.1-hh0" + +SRC_URI = "http://handhelds.org/~michaelo/ipaq/kernel/linux-2.6.8.1-hh0_aug23_2004.tar.bz2 \ + file://${DEFCONFIG}" + +S = "${WORKDIR}/linux-2.6.8.1-hh0" + +inherit kernel + +PACKAGE_ARCH = "ipaqpxa" +K_MAJOR = "2" +K_MINOR = "6" +K_MICRO = "8" +HHV = "0" +# + +KERNEL_PRIORITY = "${@'%d' % (int(bb.data.getVar('K_MAJOR',d,1)) * 100000000 + int(bb.data.getVar('K_MINOR',d,1)) * 1000000 + int(bb.data.getVar('K_MICRO',d,1)) * 10000 + float(bb.data.getVar('HHV',d,1)))}" +do_configure() { + install -m 0644 ${WORKDIR}/${DEFCONFIG} ${S}/.config || die "No default configuration for ${MACHINE} available." + (echo N; echo m; echo N) | oe_runmake oldconfig +} diff --git a/packages/linux/handhelds-pxa-2.6_cvs.bb b/packages/linux/handhelds-pxa-2.6_cvs.bb index e69de29bb2..2c01039629 100644 --- a/packages/linux/handhelds-pxa-2.6_cvs.bb +++ b/packages/linux/handhelds-pxa-2.6_cvs.bb @@ -0,0 +1,30 @@ +SECTION = "kernel" +DESCRIPTION = "handhelds.org Linux kernel for StrongArm processor based devices." +MAINTAINER = "Greg Gilbert <greg@treke.net>" +LICENSE = "GPL" +PV = "${K_MAJOR}.${K_MINOR}.${K_MICRO}-hh${HHV}+cvs${CVSDATE}" +# +KERNEL_CCSUFFIX = "-3.3.4" +COMPATIBLE_HOST = "arm.*-linux" + +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/handhelds-pxa-${PV}" + +SRC_URI = "${HANDHELDS_CVS};module=linux/kernel26 \ + file://defconfig" + +S = "${WORKDIR}/kernel26" + +inherit kernel + +PACKAGE_ARCH = "ipaqpxa" +K_MAJOR = "2" +K_MINOR = "6" +K_MICRO = "8" +HHV = "0" +# + +KERNEL_PRIORITY = "${@'%d' % (int(bb.data.getVar('K_MAJOR',d,1)) * 100000000 + int(bb.data.getVar('K_MINOR',d,1)) * 1000000 + int(bb.data.getVar('K_MICRO',d,1)) * 10000 + float(bb.data.getVar('HHV',d,1)))}" +do_configure() { + install -m 0644 ${WORKDIR}/defconfig ${S}/.config || die "No default configuration for ${MACHINE} available." + yes '' | oe_runmake oldconfig +} diff --git a/packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh36.12.bb b/packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh36.12.bb index e69de29bb2..b3dcf57ba8 100644 --- a/packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh36.12.bb +++ b/packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh36.12.bb @@ -0,0 +1,58 @@ +SECTION = "kernel" +DESCRIPTION = "handhelds.org Linux kernel for PXA25x based devices." +MAINTAINER = "Phil Blundell <pb@handhelds.org>" +LICENSE = "GPL" +PR = "r4" + +KERNEL_CCSUFFIX = "-3.3.3" +COMPATIBLE_HOST = "arm.*-linux" + +SRC_URI = "${HANDHELDS_CVS};module=linux/kernel;tag=${@'K' + bb.data.getVar('PV',d,1).replace('.', '-')} \ + file://defconfig-ipaqpxa \ + file://ipaq-hal.init \ + file://linux-2.4-no-short-loads.patch;patch=1 \ + file://linux-2.4-cpufreq.patch;patch=1 \ + file://ipsec.patch;patch=1" + +S = "${WORKDIR}/kernel" + +inherit kernel update-rc.d + +PACKAGE_ARCH = "ipaqpxa" + +K_MAJOR = "${@bb.data.getVar('PV',d,1).split('-')[0].split('.')[0]}" +K_MINOR = "${@bb.data.getVar('PV',d,1).split('-')[0].split('.')[1]}" +K_MICRO = "${@bb.data.getVar('PV',d,1).split('-')[0].split('.')[2]}" +RMKV = "${@bb.data.getVar('PV',d,1).split('-')[1].split('rmk')[-1]}" +PXAV = "${@bb.data.getVar('PV',d,1).split('-')[2].split('pxa')[-1]}" +HHV = "${@bb.data.getVar('PV',d,1).split('-')[3].split('hh')[-1]}" + +KERNEL_PRIORITY = "${@'%d' % (int(bb.data.getVar('K_MAJOR',d,1)) * 100000000 + int(bb.data.getVar('K_MINOR',d,1)) * 1000000 + int(bb.data.getVar('K_MICRO',d,1)) * 10000 + int(bb.data.getVar('RMKV',d,1)) * 1000 + int(bb.data.getVar('PXAV',d,1)) * 100 + float(bb.data.getVar('HHV',d,1)))}" + +module_conf_h3900_asic = "alias ipaq_hal_3900 h3900_asic" +module_conf_h5400_asic = "alias ipaq_hal_5400 h5400_asic" +module_conf_pxa_ir = "alias irda0 pxa_ir" +module_conf_i2c_algo_pxa = "options i2c-algo-pxa pxa_scan=0" +module_conf_pcmcia_core = "options pcmcia_core ignore_cis_vcc=1" +module_conf_ppp_async = "alias ppp0 ppp_async" +module_conf_orinoco_cs = "options orinoco_cs ignore_cis_vcc=1" +module_conf_hostap_cs = "options hostap_cs ignore_cis_vcc=1" + +module_autoload_h3600_generic_sleeve = "h3600_generic_sleeve" +module_autoload_ds = "ds" +module_autoload_pxa_cs = "pxa_cs" +module_autoload_h3600_ts = "h3600_ts" +module_autoload_apm = "apm" + +FILES_kernel += "/etc/init.d/ipaq-hal" +INITSCRIPT_NAME = "ipaq-hal" +INITSCRIPT_PARAMS = "start 21 S ." + +do_configure_prepend() { + install -m 0644 ${WORKDIR}/defconfig-${PACKAGE_ARCH} ${S}/.config +} + +do_install_append() { + install -d ${D}/etc/init.d + install ${WORKDIR}/ipaq-hal.init ${D}/etc/init.d/ipaq-hal +} diff --git a/packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh36.13.bb b/packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh36.13.bb index e69de29bb2..c54d47d095 100644 --- a/packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh36.13.bb +++ b/packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh36.13.bb @@ -0,0 +1,58 @@ +SECTION = "kernel" +DESCRIPTION = "handhelds.org Linux kernel for PXA25x based devices." +MAINTAINER = "Phil Blundell <pb@handhelds.org>" +LICENSE = "GPL" +PR = "r0" + +KERNEL_CCSUFFIX = "-3.3.3" +COMPATIBLE_HOST = "arm.*-linux" + +SRC_URI = "${HANDHELDS_CVS};module=linux/kernel;tag=${@'K' + bb.data.getVar('PV',d,1).replace('.', '-')} \ + file://defconfig-ipaqpxa \ + file://ipaq-hal.init \ + file://linux-2.4-no-short-loads.patch;patch=1 \ + file://linux-2.4-cpufreq.patch;patch=1 \ + file://ipsec.patch;patch=1" + +S = "${WORKDIR}/kernel" + +inherit kernel update-rc.d + +PACKAGE_ARCH = "ipaqpxa" + +K_MAJOR = "${@bb.data.getVar('PV',d,1).split('-')[0].split('.')[0]}" +K_MINOR = "${@bb.data.getVar('PV',d,1).split('-')[0].split('.')[1]}" +K_MICRO = "${@bb.data.getVar('PV',d,1).split('-')[0].split('.')[2]}" +RMKV = "${@bb.data.getVar('PV',d,1).split('-')[1].split('rmk')[-1]}" +PXAV = "${@bb.data.getVar('PV',d,1).split('-')[2].split('pxa')[-1]}" +HHV = "${@bb.data.getVar('PV',d,1).split('-')[3].split('hh')[-1]}" + +KERNEL_PRIORITY = "${@'%d' % (int(bb.data.getVar('K_MAJOR',d,1)) * 100000000 + int(bb.data.getVar('K_MINOR',d,1)) * 1000000 + int(bb.data.getVar('K_MICRO',d,1)) * 10000 + int(bb.data.getVar('RMKV',d,1)) * 1000 + int(bb.data.getVar('PXAV',d,1)) * 100 + float(bb.data.getVar('HHV',d,1)))}" + +module_conf_h3900_asic = "alias ipaq_hal_3900 h3900_asic" +module_conf_h5400_asic = "alias ipaq_hal_5400 h5400_asic" +module_conf_pxa_ir = "alias irda0 pxa_ir" +module_conf_i2c_algo_pxa = "options i2c-algo-pxa pxa_scan=0" +module_conf_pcmcia_core = "options pcmcia_core ignore_cis_vcc=1" +module_conf_ppp_async = "alias ppp0 ppp_async" +module_conf_orinoco_cs = "options orinoco_cs ignore_cis_vcc=1" +module_conf_hostap_cs = "options hostap_cs ignore_cis_vcc=1" + +module_autoload_h3600_generic_sleeve = "h3600_generic_sleeve" +module_autoload_ds = "ds" +module_autoload_pxa_cs = "pxa_cs" +module_autoload_h3600_ts = "h3600_ts" +module_autoload_apm = "apm" + +FILES_kernel += "/etc/init.d/ipaq-hal" +INITSCRIPT_NAME = "ipaq-hal" +INITSCRIPT_PARAMS = "start 21 S ." + +do_configure_prepend() { + install -m 0644 ${WORKDIR}/defconfig-${PACKAGE_ARCH} ${S}/.config +} + +do_install_append() { + install -d ${D}/etc/init.d + install ${WORKDIR}/ipaq-hal.init ${D}/etc/init.d/ipaq-hal +} diff --git a/packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh36.14.bb b/packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh36.14.bb index e69de29bb2..718a188297 100644 --- a/packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh36.14.bb +++ b/packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh36.14.bb @@ -0,0 +1,59 @@ +SECTION = "kernel" +DESCRIPTION = "handhelds.org Linux kernel for PXA25x based devices." +MAINTAINER = "Phil Blundell <pb@handhelds.org>" +LICENSE = "GPL" +PR = "r3" + +KERNEL_CCSUFFIX = "-3.3.3" +COMPATIBLE_HOST = "arm.*-linux" + +SRC_URI = "${HANDHELDS_CVS};module=linux/kernel;tag=${@'K' + bb.data.getVar('PV',d,1).replace('.', '-')} \ + file://defconfig-ipaqpxa \ + file://ipaq-hal.init \ + file://linux-2.4-no-short-loads.patch;patch=1 \ + file://linux-2.4-cpufreq.patch;patch=1" + +S = "${WORKDIR}/kernel" + +inherit kernel update-rc.d + +PACKAGE_ARCH = "ipaqpxa" + +K_MAJOR = "${@bb.data.getVar('PV',d,1).split('-')[0].split('.')[0]}" +K_MINOR = "${@bb.data.getVar('PV',d,1).split('-')[0].split('.')[1]}" +K_MICRO = "${@bb.data.getVar('PV',d,1).split('-')[0].split('.')[2]}" +RMKV = "${@bb.data.getVar('PV',d,1).split('-')[1].split('rmk')[-1]}" +PXAV = "${@bb.data.getVar('PV',d,1).split('-')[2].split('pxa')[-1]}" +HHV = "${@bb.data.getVar('PV',d,1).split('-')[3].split('hh')[-1]}" + +KERNEL_PRIORITY = "${@'%d' % (int(bb.data.getVar('K_MAJOR',d,1)) * 100000000 + int(bb.data.getVar('K_MINOR',d,1)) * 1000000 + int(bb.data.getVar('K_MICRO',d,1)) * 10000 + int(bb.data.getVar('RMKV',d,1)) * 1000 + int(bb.data.getVar('PXAV',d,1)) * 100 + float(bb.data.getVar('HHV',d,1)))}" + +module_conf_h3900_asic = "alias ipaq_hal_3900 h3900_asic" +module_conf_h5400_asic = "alias ipaq_hal_5400 h5400_asic" +module_conf_pxa_ir = "alias irda0 pxa_ir" +module_conf_i2c_algo_pxa = "options i2c-algo-pxa pxa_scan=0" +module_conf_pcmcia_core = "options pcmcia_core ignore_cis_vcc=1" +module_conf_ppp_async = "alias ppp0 ppp_async" +module_conf_orinoco_cs = "options orinoco_cs ignore_cis_vcc=1" +module_conf_hostap_cs = "options hostap_cs ignore_cis_vcc=1" + +module_autoload_h3600_generic_sleeve = "h3600_generic_sleeve" +module_autoload_h3600_ts = "h3600_ts" +module_autoload_apm = "apm" +module_autoload_af_packet = "af_packet" +module_autoload_usb-ohci-h5400 = "usb-ohci-h5400" +module_autoload_ppp_async = "ppp_async" +module_autoload_usb_eth = "usb-eth" + +FILES_kernel += "/etc/init.d/ipaq-hal" +INITSCRIPT_NAME = "ipaq-hal" +INITSCRIPT_PARAMS = "start 21 S ." + +do_configure_prepend() { + install -m 0644 ${WORKDIR}/defconfig-${PACKAGE_ARCH} ${S}/.config +} + +do_install_append() { + install -d ${D}/etc/init.d + install ${WORKDIR}/ipaq-hal.init ${D}/etc/init.d/ipaq-hal +} diff --git a/packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh37.1.bb b/packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh37.1.bb index e69de29bb2..03149b10f4 100644 --- a/packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh37.1.bb +++ b/packages/linux/handhelds-pxa_2.4.19-rmk6-pxa1-hh37.1.bb @@ -0,0 +1,65 @@ +SECTION = "kernel" +DESCRIPTION = "handhelds.org Linux kernel for PXA25x based devices." +MAINTAINER = "Phil Blundell <pb@handhelds.org>" +LICENSE = "GPL" +PR = "r2" + +KERNEL_CCSUFFIX = "-3.3.3" +COMPATIBLE_HOST = "arm.*-linux" + +SRC_URI = "${HANDHELDS_CVS};module=linux/kernel;tag=${@'K' + bb.data.getVar('PV',d,1).replace('.', '-')} \ + file://defconfig-ipaqpxa \ + file://ipaq-hal.init \ + file://linux-2.4-no-short-loads.patch;patch=1 \ + file://linux-2.4-cpufreq.patch;patch=1" + +S = "${WORKDIR}/kernel" + +inherit kernel update-rc.d + +PACKAGE_ARCH = "ipaqpxa" + +K_MAJOR = "${@bb.data.getVar('PV',d,1).split('-')[0].split('.')[0]}" +K_MINOR = "${@bb.data.getVar('PV',d,1).split('-')[0].split('.')[1]}" +K_MICRO = "${@bb.data.getVar('PV',d,1).split('-')[0].split('.')[2]}" +RMKV = "${@bb.data.getVar('PV',d,1).split('-')[1].split('rmk')[-1]}" +PXAV = "${@bb.data.getVar('PV',d,1).split('-')[2].split('pxa')[-1]}" +HHV = "${@bb.data.getVar('PV',d,1).split('-')[3].split('hh')[-1]}" + +KERNEL_PRIORITY = "${@'%d' % (int(bb.data.getVar('K_MAJOR',d,1)) * 100000000 + int(bb.data.getVar('K_MINOR',d,1)) * 1000000 + int(bb.data.getVar('K_MICRO',d,1)) * 10000 + int(bb.data.getVar('RMKV',d,1)) * 1000 + int(bb.data.getVar('PXAV',d,1)) * 100 + float(bb.data.getVar('HHV',d,1)))}" + +module_conf_h3900_asic = "alias ipaq_hal_3900 h3900_asic" +module_conf_h5400_asic = "alias ipaq_hal_5400 h5400_asic" +module_conf_pxa_ir = "alias irda0 pxa_ir" +module_conf_i2c_algo_pxa = "options i2c-algo-pxa pxa_scan=0" +module_conf_pcmcia_core = "options pcmcia_core ignore_cis_vcc=1" +module_conf_ppp_async = "alias ppp0 ppp_async" +module_conf_orinoco_cs = "options orinoco_cs ignore_cis_vcc=1" +module_conf_hostap_cs = "options hostap_cs ignore_cis_vcc=1" + +module_autoload_h3600_ts = "h3600_ts" +module_autoload_apm = "apm" +module_autoload_af_packet = "af_packet" +module_autoload_usb-ohci-h5400 = "usb-ohci-h5400" +module_autoload_ppp_async = "ppp_async" +module_autoload_usb-eth = "usb-eth" +module_autoload_h5400_buzzer = "h5400_buzzer" +module_autoload_mmc_h5400 = "mmc_h5400" +module_autoload_h5400-audio = "h5400-audio" +module_autoload_h3900-uda1380 = "h3900-uda1380" + +FILES_kernel += "/etc/init.d/ipaq-hal" +INITSCRIPT_NAME = "ipaq-hal" +INITSCRIPT_PARAMS = "start 21 S ." + +# extra depends +RDEPENDS_kernel-module-h5400-audio = "kernel-module-ak4535 kernel-module-i2c-adap-pxa" + +do_configure_prepend() { + install -m 0644 ${WORKDIR}/defconfig-${PACKAGE_ARCH} ${S}/.config +} + +do_install_append() { + install -d ${D}/etc/init.d + install ${WORKDIR}/ipaq-hal.init ${D}/etc/init.d/ipaq-hal +} diff --git a/packages/linux/handhelds-sa-2.6_cvs.bb b/packages/linux/handhelds-sa-2.6_cvs.bb index e69de29bb2..6a867b9154 100644 --- a/packages/linux/handhelds-sa-2.6_cvs.bb +++ b/packages/linux/handhelds-sa-2.6_cvs.bb @@ -0,0 +1,24 @@ +SECTION = "kernel" +DESCRIPTION = "handhelds.org Linux kernel for StrongArm processor based devices." +MAINTAINER = "Alex Lange <chicken@handhelds.org>" +LICENSE = "GPL" +# +KERNEL_CCSUFFIX = "-3.3.4" +COMPATIBLE_HOST = "arm.*-linux" + +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/handhelds-sa-${PV}" + +SRC_URI = "${HANDHELDS_CVS};module=linux/kernel26 \ + file://defconfig-${MACHINE}" + +S = "${WORKDIR}/kernel26" + +inherit kernel +# +PACKAGE_ARCH = "ipaqsa" +PACKAGE_ARCH_jornada56x = "jornada56x" + +do_configure() { + install -m 0644 ${WORKDIR}/defconfig-${MACHINE} ${S}/.config || die "No default configuration for ${MACHINE} available." + (echo N; echo m; echo N) | oe_runmake oldconfig +} diff --git a/packages/linux/handhelds-sa_2.4.19-rmk6-pxa1-hh36.12.bb b/packages/linux/handhelds-sa_2.4.19-rmk6-pxa1-hh36.12.bb index e69de29bb2..a3d9af9268 100644 --- a/packages/linux/handhelds-sa_2.4.19-rmk6-pxa1-hh36.12.bb +++ b/packages/linux/handhelds-sa_2.4.19-rmk6-pxa1-hh36.12.bb @@ -0,0 +1,58 @@ +SECTION = "kernel" +DESCRIPTION = "handhelds.org Linux kernel for StrongArm processor based devices." +MAINTAINER = "Rene Wagner <reenoo@gmx.de>" +LICENSE = "GPL" +PR = "r2" + +KERNEL_CCSUFFIX = "-3.3.3" +COMPATIBLE_HOST = "arm.*-linux" + +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/handhelds-sa-${PV}" +SRC_URI = "${HANDHELDS_CVS};module=linux/kernel;tag=${@'K' + bb.data.getVar('PV',d,1).replace('.', '-')} \ + file://defconfig-ipaqsa \ + file://ipaq-hal.init \ + file://ipsec.patch;patch=1" + +S = "${WORKDIR}/kernel" + +inherit kernel + +PACKAGE_ARCH = "ipaqsa" + +K_MAJOR = "${@bb.data.getVar('PV',d,1).split('-')[0].split('.')[0]}" +K_MINOR = "${@bb.data.getVar('PV',d,1).split('-')[0].split('.')[1]}" +K_MICRO = "${@bb.data.getVar('PV',d,1).split('-')[0].split('.')[2]}" +RMKV = "${@bb.data.getVar('PV',d,1).split('-')[1].split('rmk')[-1]}" +PXAV = "${@bb.data.getVar('PV',d,1).split('-')[2].split('pxa')[-1]}" +HHV = "${@bb.data.getVar('PV',d,1).split('-')[3].split('hh')[-1]}" + +KERNEL_PRIORITY = "${@'%d' % (int(bb.data.getVar('K_MAJOR',d,1)) * 100000000 + int(bb.data.getVar('K_MINOR',d,1)) * 1000000 + int(bb.data.getVar('K_MICRO',d,1)) * 10000 + int(bb.data.getVar('RMKV',d,1)) * 1000 + int(bb.data.getVar('PXAV',d,1)) * 100 + float(bb.data.getVar('HHV',d,1)))}" + +module_conf_h3600_micro = "alias ipaq_hal_3600 h3600_micro" +module_conf_h3600_asic = "alias ipaq_hal_3800 h3600_asic" +module_conf_pxa_ir = "alias irda0 sa_ir" +module_conf_i2c_algo_pxa = "options i2c-algo-sa sa_scan=0" +module_conf_pcmcia_core = "options pcmcia_core ignore_cis_vcc=1" +module_conf_ppp_async = "alias ppp0 ppp_async" +module_conf_orinoco_cs = "options orinoco_cs ignore_cis_vcc=1" +module_conf_hostap_cs = "options hostap_cs ignore_cis_vcc=1" +module_conf_spectrum_cs = "options spectrum_cs ignore_cis_vcc=1" + +module_autoload_h3600_generic_sleeve = "h3600_generic_sleeve" +module_autoload_ds = "ds" +module_autoload_sa1100_cs = "sa1100_cs" +module_autoload_h3600_ts = "h3600_ts" +module_autoload_apm = "apm" + +FILES_kernel += "/etc/init.d/ipaq-hal" +INITSCRIPT_NAME = "ipaq-hal" +INITSCRIPT_PARAMS = "start 21 S ." + +do_configure_prepend() { + install -m 0644 ${WORKDIR}/defconfig-${PACKAGE_ARCH} ${S}/.config +} + +do_install_append() { + install -d ${D}/etc/init.d + install ${WORKDIR}/ipaq-hal.init ${D}/etc/init.d/ipaq-hal +} diff --git a/packages/linux/handhelds-sa_2.4.19-rmk6-pxa1-hh37.1.bb b/packages/linux/handhelds-sa_2.4.19-rmk6-pxa1-hh37.1.bb index e69de29bb2..633ef2dd9a 100644 --- a/packages/linux/handhelds-sa_2.4.19-rmk6-pxa1-hh37.1.bb +++ b/packages/linux/handhelds-sa_2.4.19-rmk6-pxa1-hh37.1.bb @@ -0,0 +1,57 @@ +SECTION = "kernel" +DESCRIPTION = "handhelds.org Linux kernel for StrongArm processor based devices." +MAINTAINER = "Rene Wagner <reenoo@gmx.de>" +LICENSE = "GPL" +PR = "r1" + +KERNEL_CCSUFFIX = "-3.3.3" +COMPATIBLE_HOST = "arm.*-linux" + +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/handhelds-sa-${PV}" +SRC_URI = "${HANDHELDS_CVS};module=linux/kernel;tag=${@'K' + bb.data.getVar('PV',d,1).replace('.', '-')} \ + file://defconfig-ipaqsa \ + file://ipaq-hal.init" + +S = "${WORKDIR}/kernel" + +inherit kernel update-rc.d + +PACKAGE_ARCH = "ipaqsa" + +K_MAJOR = "${@bb.data.getVar('PV',d,1).split('-')[0].split('.')[0]}" +K_MINOR = "${@bb.data.getVar('PV',d,1).split('-')[0].split('.')[1]}" +K_MICRO = "${@bb.data.getVar('PV',d,1).split('-')[0].split('.')[2]}" +RMKV = "${@bb.data.getVar('PV',d,1).split('-')[1].split('rmk')[-1]}" +PXAV = "${@bb.data.getVar('PV',d,1).split('-')[2].split('pxa')[-1]}" +HHV = "${@bb.data.getVar('PV',d,1).split('-')[3].split('hh')[-1]}" + +KERNEL_PRIORITY = "${@'%d' % (int(bb.data.getVar('K_MAJOR',d,1)) * 100000000 + int(bb.data.getVar('K_MINOR',d,1)) * 1000000 + int(bb.data.getVar('K_MICRO',d,1)) * 10000 + int(bb.data.getVar('RMKV',d,1)) * 1000 + int(bb.data.getVar('PXAV',d,1)) * 100 + float(bb.data.getVar('HHV',d,1)))}" + +module_conf_h3600_micro = "alias ipaq_hal_3600 h3600_micro" +module_conf_h3600_asic = "alias ipaq_hal_3800 h3600_asic" +module_conf_sa1100_ir = "alias irda0 sa1100_ir" +module_conf_pcmcia_core = "options pcmcia_core ignore_cis_vcc=1" +module_conf_ppp_async = "alias ppp0 ppp_async" +module_conf_orinoco_cs = "options orinoco_cs ignore_cis_vcc=1" +module_conf_hostap_cs = "options hostap_cs ignore_cis_vcc=1" +module_conf_spectrum_cs = "options spectrum_cs ignore_cis_vcc=1" + +module_autoload_h3600_ts = "h3600_ts" +module_autoload_apm = "apm" +module_autoload_h3600-uda1341 = "h3600-uda1341" +module_autoload_af_packet = "af_packet" +module_autoload_ppp_async = "ppp_async" +module_autoload_usb-eth = "usb-eth" + +FILES_kernel += "/etc/init.d/ipaq-hal" +INITSCRIPT_NAME = "ipaq-hal" +INITSCRIPT_PARAMS = "start 21 S ." + +do_configure_prepend() { + install -m 0644 ${WORKDIR}/defconfig-${PACKAGE_ARCH} ${S}/.config +} + +do_install_append() { + install -d ${D}/etc/init.d + install ${WORKDIR}/ipaq-hal.init ${D}/etc/init.d/ipaq-hal +} diff --git a/packages/linux/linux-mtx-1_2.4.24.bb b/packages/linux/linux-mtx-1_2.4.24.bb index e69de29bb2..ec7aecdd71 100644 --- a/packages/linux/linux-mtx-1_2.4.24.bb +++ b/packages/linux/linux-mtx-1_2.4.24.bb @@ -0,0 +1,64 @@ +SECTION = "kernel" +DESCRIPTION = "Linux kernel for MTX-1 (MeshCube)" +MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>" +LICENSE = "GPL" +KV = "${PV}" +RDEPENDS = "mtd" +PR="r1" + +SRC_URI = "cvs://cvs:cvs@ftp.linux-mips.org/home/cvs;module=linux;tag=linux_2_4_24_pre2 \ + file://01-mtd-2004-01-27.diff;patch=1 \ + file://02-mtd-mtx-1-map.diff;patch=1 \ + file://03-mtd-erase-compiler-bug.diff;patch=1 \ + file://04-zboot-2.4.24.patch;patch=1 \ + file://05-zboot-cflags.diff;patch=1 \ + file://06-zboot-mtx.diff;patch=1 \ + file://07-zimage-flash-bin.patch;patch=1 \ + file://08-usb-nonpci-2.4.24.patch;patch=1 \ + file://09-iw-max-spy-32.diff;patch=1 \ + file://10-mtx-pci-slots.diff;patch=1 \ + file://11-mtx-extraversion.diff;patch=1 \ + file://12-openswan-2.2.0-nat-t.diff;patch=1 \ + file://13-openswan-2.2.0.patch;patch=1 \ + file://14-au1000-eth-vlan.diff;patch=1 \ + file://15-mtd-proc-partition-rw.diff;patch=1 \ + file://defconfig-mtx-1" + +S = "${WORKDIR}/linux" + +inherit kernel + +PACKAGE_ARCH = "mtx-1" +ARCH = "mips" +KERNEL_OUTPUT = "arch/mips/zboot/images/mtx-1.flash.bin" +KERNEL_IMAGETYPE = "zImage.flash" +KERNEL_IMAGEDEST = "tmp" + +do_configure_prepend() { + install -m 0644 ${WORKDIR}/defconfig-mtx-1 ${S}/.config +} + +pkg_postinst_kernel() { +if test "x$D" != "x"; then + exit 1 +else + if test -e /tmp/zImage.flash-${KV}; then + echo "*** flashing kernel ***" + flashcp -v /tmp/zImage.flash-${KV} /dev/mtd/2 + echo "*** done. please reboot ***" + fi +fi +} + +FILES_kernel += " /tmp" + +do_deploy() { + install -d ${DEPLOY_DIR}/images + install -m 0644 arch/mips/zboot/images/mtx-1.flash.bin ${DEPLOY_DIR}/images/${MACHINE}-${KV}-${DATETIME}.flash.bin + install -m 0644 arch/mips/zboot/images/mtx-1.flash.srec ${DEPLOY_DIR}/images/${MACHINE}-${KV}-${DATETIME}.flash.srec + install -m 0644 arch/mips/zboot/images/mtx-1.srec ${DEPLOY_DIR}/images/${MACHINE}-${KV}-${DATETIME}.ram.srec +} + +do_deploy[dirs] = "${S}" + +addtask deploy before do_build after do_compile diff --git a/packages/linux/linux-mtx-1_2.4.27.bb b/packages/linux/linux-mtx-1_2.4.27.bb index e69de29bb2..194cb58306 100644 --- a/packages/linux/linux-mtx-1_2.4.27.bb +++ b/packages/linux/linux-mtx-1_2.4.27.bb @@ -0,0 +1,64 @@ +DESCRIPTION = "Linux kernel for MTX-1 (MeshCube)" +MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>" +HOMEPAGE = "http://meshcube.org/meshwiki/" +LICENSE = "GPL" +KV = "${PV}" +PR = "r1" +RDEPENDS = "mtd" + +SRC_URI = "cvs://cvs@ftp.linux-mips.org/home/cvs;module=linux;tag=linux_2_4_27 \ + file://01-mtd-2004-01-27.diff;patch=1 \ + file://02-mtd-mtx-1-map.diff;patch=1 \ + file://03-mtd-erase-compiler-bug.diff;patch=1 \ + file://04-mtx-1-board-reset.diff;patch=1 \ + file://05-mtx-1-pci-irq.diff;patch=1 \ + file://06-zboot-2.4.26.patch;patch=1 \ + file://07-zboot-zimage-flash-bin.diff;patch=1 \ + file://08-usb-nonpci-2.4.24.patch;patch=1 \ + file://09-au1000-eth-vlan.diff;patch=1 \ + file://10-iw-max-spy-32.diff;patch=1 \ + file://11-mtd-proc-partition-rw.diff;patch=1 \ + file://12-openswan-2.2.0-nat-t.diff;patch=1 \ + file://13-openswan-2.2.0.patch;patch=1 \ + file://14-au1000-eth-link-beat.diff;patch=1 \ + file://15-au1000-pci-fixup-non-coherent-pre-ac.diff;patch=1 \ + file://defconfig-mtx-1" + +S = "${WORKDIR}/linux" + +inherit kernel + +PACKAGE_ARCH = "mtx-1" +ARCH = "mips" +KERNEL_OUTPUT = "arch/mips/zboot/images/mtx-1.flash.bin" +KERNEL_IMAGETYPE = "zImage.flash" +KERNEL_IMAGEDEST = "tmp" + +do_configure_prepend() { + install -m 0644 ${WORKDIR}/defconfig-mtx-1 ${S}/.config +} + +pkg_postinst_kernel() { +if test "x$D" != "x"; then + exit 1 +else + if test -e /tmp/zImage.flash-${KV}; then + echo "*** flashing kernel ***" + flashcp -v /tmp/zImage.flash-${KV} /dev/mtd/2 + echo "*** done. please reboot ***" + fi +fi +} + +FILES_kernel += " /tmp" + +do_deploy() { + install -d ${DEPLOY_DIR}/images + install -m 0644 arch/mips/zboot/images/mtx-1.flash.bin ${DEPLOY_DIR}/images/${MACHINE}-${KV}-${DATETIME}.flash.bin + install -m 0644 arch/mips/zboot/images/mtx-1.flash.srec ${DEPLOY_DIR}/images/${MACHINE}-${KV}-${DATETIME}.flash.srec + install -m 0644 arch/mips/zboot/images/mtx-1.srec ${DEPLOY_DIR}/images/${MACHINE}-${KV}-${DATETIME}.ram.srec +} + +do_deploy[dirs] = "${S}" + +addtask deploy before do_build after do_compile diff --git a/packages/linux/linux-xxs1500_2.4.21.bb b/packages/linux/linux-xxs1500_2.4.21.bb index e69de29bb2..e4f7fac776 100644 --- a/packages/linux/linux-xxs1500_2.4.21.bb +++ b/packages/linux/linux-xxs1500_2.4.21.bb @@ -0,0 +1,36 @@ +SECTION = "kernel" +DESCRIPTION = "Linux kernel for mycable xxs1500" +LICENSE = "GPL" +KV = "2.4.21" +PV = "${KV}" + +SRC_URI = "http://mycable.de/xxs1500/cms/index.php?download=linux-2.4.21-20040514.1522.tgz \ + file://Makefile \ + file://defconfig-xxs1500 \ + file://zboot-Makefile-flags.diff;patch=1;pnum=0" + +S = "${WORKDIR}/linux" + +inherit kernel + +PACKAGE_ARCH = "xxs1500" +ARCH = "mips" +KERNEL_OUTPUT = "arch/mips/zboot/images/xxs1500.flash.srec" +KERNEL_IMAGETYPE = "zImage.flash" +KERNEL_IMAGEDEST = "tmp" + +do_configure_prepend() { + install -m 0644 ${WORKDIR}/defconfig-xxs1500 ${S}/.config + cp ${WORKDIR}/Makefile ${S}/arch/mips +} + +FILES_kernel += " /tmp" + +do_deploy() { + install -d ${DEPLOY_DIR}/images + install -m 0644 ${KERNEL_OUTPUT} ${DEPLOY_DIR}/images/${MACHINE}-${KV}-${KERNEL_IMAGETYPE}-${DATETIME} +} + +do_deploy[dirs] = "${S}" + +addtask deploy before do_build after do_compile |