diff options
author | Holger Schurig <schurig@mn-solutions.de> | 2005-02-16 07:53:35 +0000 |
---|---|---|
committer | Holger Schurig <schurig@mn-solutions.de> | 2005-02-16 07:53:35 +0000 |
commit | 1cec4994199b449909def85185e4c982058032dc (patch) | |
tree | b5f14cb5a5395b207deca46f77ab87addd27500c /packages | |
parent | fc79920dd48b5127d9e61366d19cb607958ad57e (diff) |
misc fixes to wlags, Qt/E 2 on MNCI etc
BKrev: 4212fbffx466UR3frlErZYM3-5FQxg
Diffstat (limited to 'packages')
-rw-r--r-- | packages/qmake/files/ramses/linux-oe-qmake.conf | 0 | ||||
-rw-r--r-- | packages/qte/qte_2.3.10.bb | 2 | ||||
-rw-r--r-- | packages/wlags-modules/wlags-modules_718.inc | 68 |
3 files changed, 70 insertions, 0 deletions
diff --git a/packages/qmake/files/ramses/linux-oe-qmake.conf b/packages/qmake/files/ramses/linux-oe-qmake.conf deleted file mode 100644 index e69de29bb2..0000000000 --- a/packages/qmake/files/ramses/linux-oe-qmake.conf +++ /dev/null diff --git a/packages/qte/qte_2.3.10.bb b/packages/qte/qte_2.3.10.bb index f379aa3de1..f18bdda718 100644 --- a/packages/qte/qte_2.3.10.bb +++ b/packages/qte/qte_2.3.10.bb @@ -30,6 +30,7 @@ SRC_URI_append_tosa = "file://kernel-keymap.patch;patch=1 file://kernel-keymap- SRC_URI_append_beagle = "file://beagle.patch;patch=1 " SRC_URI_append_jornada720 = "file://kernel-keymap.patch;patch=1 " SRC_URI_append_jornada56x = "file://kernel-keymap.patch;patch=1 " +SRC_URI_append_ramses = "file://kernel-keymap.patch;patch=1 file://ramses.patch;patch=1 " S = "${WORKDIR}/qt-${PV}" @@ -68,6 +69,7 @@ EXTRA_DEFINES_jornada720 = "-DQT_QWS_TSLIB -DQT_QWS_CUSTOM -DQT_QWS_IPAQ" EXTRA_DEFINES_simpad = "-DQT_QWS_TSLIB -DQT_QWS_CUSTOM -DQT_QWS_IPAQ -DQT_QWS_SIMPAD -DQT_QWS_DEVFS" EXTRA_DEFINES_c7x0 = "-DQT_QWS_TSLIB -DQT_QWS_CUSTOM -DQT_QWS_SLC700 -DQT_QWS_SL5XXX" EXTRA_DEFINES_beagle = "-DQT_QWS_TSLIB -DQT_QWS_CUSTOM -DQT_QWS_IPAQ -DQT_QWS_BEAGLE" +EXTRA_DEFINES_ramses = "-DQT_QWS_TSLIB -DQT_QWS_RAMSES" export SYSCONF_CC = "${CC}" export SYSCONF_CXX = "${CXX}" diff --git a/packages/wlags-modules/wlags-modules_718.inc b/packages/wlags-modules/wlags-modules_718.inc index e69de29bb2..cf749103dd 100644 --- a/packages/wlags-modules/wlags-modules_718.inc +++ b/packages/wlags-modules/wlags-modules_718.inc @@ -0,0 +1,68 @@ +DESCRIPTION = "A driver from Agera (a card manufacturer) for wireless LAN cards based on Hermes cards." +HOMEPAGE = "http://www.agere.com/mobility/wireless_lan_drivers.html" +SECTION = "kernel/modules" +PRIORITY = "optional" +MAINTAINER = "Holger Schurig" +DEPENDS = "virtual/kernel" +LICENSE = "BSD" +PR = "r1" + +TARFILE = "wl_lkm_${PV}_release.tar.gz" + + +# +# The original wlags tar file is a bit messy: +# * it doesn't contain it's own subdirectory +# * the files are formatted for Windows/DOS (with CR/LF) +# * they assume that the pcmcia-cs source code is there +# * they don't use the kernel makefile approach +# +# Because of this, I create the IPK in a little unusual way: +# * I "flatten" the structure to be able to use the kernel makefile concept +# * the patches I have are for the flattened structure +# * then I do the usual compile/install/package dance +# + +SRC_URI = "http://www.agere.com/mobility/docs/${TARFILE} \ + file://Makefile \ + file://includes.patch \ + file://kernel-pcmcia.patch \ + file://bugs.patch \ + file://fixes.patch \ + file://wlags_h${COMPILE_HERMES}.conf" +S = "${WORKDIR}/${PN}" + +do_configure() { + cp ../{hcf,firmware,include/hcf,include/wireless}/*.h . + cp ../{hcf,firmware,wireless}/*.c . + cp ../etc/wlags49.conf . + perl -pi -e 'r:\r::g' *.h *.c + + patch -p1 <${WORKDIR}/includes.patch + patch -p1 <${WORKDIR}/kernel-pcmcia.patch + patch -p1 <${WORKDIR}/bugs.patch + patch -p1 <${WORKDIR}/fixes.patch + cp ${WORKDIR}/Makefile . +} + + +do_compile() { + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + make -C ${STAGING_KERNEL_DIR} \ + modules \ + SUBDIRS="${S}" \ + CC="${KERNEL_CC}" LD="${KERNEL_LD}" \ + COMPILE_HERMES=${COMPILE_HERMES} +} + + +do_install() { + install -d ${D}/etc/pcmcia + install -m 0644 ${WORKDIR}/wlags_h${COMPILE_HERMES}.conf ${D}/etc/pcmcia/ + + install -d ${D}/lib/modules/${KERNEL_VERSION}/net/wireless + ls + install -m 0644 wlags49_h${COMPILE_HERMES}_cs${KERNEL_OBJECT_SUFFIX} ${D}/lib/modules/${KERNEL_VERSION}/net/wireless +} + +FILES = "/lib/modules/${KERNEL_VERSION}/net/wireless/*${KERNEL_OBJECT_SUFFIX} /${sysconfdir}" |