* Adding Ralink rt2x00 CVS to openembedded
@ 2007-02-19 16:10 Jon Smirl
2007-02-19 17:37 ` Koen Kooi
0 siblings, 1 reply; 3+ messages in thread
From: Jon Smirl @ 2007-02-19 16:10 UTC (permalink / raw)
To: openembedded-devel
Ralink makes 802.11 wireless adapters. The dscape version of this has
not been merged into the main kernel yet so I need to use CVS to fetch
it. The CVS repository builds modules for five different adapters
simultaneously. How do I set the bitbake file up to make these
independently installable?
This doesn't work, when I try to include rt73usb into the slugosbe
image make says it can't find rt73usb.
file: rt2570_cvs.bb
DESCRIPTION = "Driver for Ralink rt2570 USB 802.11g WiFi sticks"
HOMEPAGE = "http://rt2x00.serialmonkey.com/"
SECTION = "kernel/modules"
LICENSE = "GPL"
SRC_URI = "cvs://anonymous@rt2400.cvs.sourceforge.net/cvsroot/rt2400;module=source/rt2x00;method=pserver"
inherit module
PV = "cvs${SRCDATE}"
S = "${WORKDIR}/rt2x00/"
EXTRA_OEMAKE = "KERNDIR=${STAGING_KERNEL_DIR}"
NET_MODULES = "80211 crc-itu-t eeprom_93cx6 rc80211_simple rt2400pci
rt2500pci rt2500usb rt61pci rt73usb"
do_install() {
install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/net
for i in ${NET_MODULES}
do
install -m 0644 $i${KERNEL_OBJECT_SUFFIX}
${D}${base_libdir}/modules/${KERNEL_VERSION}/net/
done
}
PACKAGES = "rt2400pci rt2500pci rt2500usb rt61pci rt73usb ralink-base"
FILES_ralink-base =
"${D}${base_libdir}/modules/${KERNEL_VERSION}/net/80211${KERNEL_OBJECT_SUFFIX}"
FILES_ralink-base +=
"${D}${base_libdir}/modules/${KERNEL_VERSION}/net/crc-itu-t${KERNEL_OBJECT_SUFFIX}"
FILES_ralink-base +=
"${D}${base_libdir}/modules/${KERNEL_VERSION}/net/eeprom_93cx6${KERNEL_OBJECT_SUFFIX}"
FILES_ralink-base +=
"${D}${base_libdir}/modules/${KERNEL_VERSION}/net/rc80211_simple${KERNEL_OBJECT_SUFFIX}"
FILES_rt2400pci =
"${D}${base_libdir}/modules/${KERNEL_VERSION}/net/rt2400pci${KERNEL_OBJECT_SUFFIX}"
FILES_rt2500pci =
"${D}${base_libdir}/modules/${KERNEL_VERSION}/net/rt2500pci${KERNEL_OBJECT_SUFFIX}"
FILES_rt2500usb =
"${D}${base_libdir}/modules/${KERNEL_VERSION}/net/rt2500usb${KERNEL_OBJECT_SUFFIX}"
FILES_rt61pci =
"${D}${base_libdir}/modules/${KERNEL_VERSION}/net/rt61pci${KERNEL_OBJECT_SUFFIX}"
FILES_rt73usb =
"${D}${base_libdir}/modules/${KERNEL_VERSION}/net/rt73usb${KERNEL_OBJECT_SUFFIX}"
RDEPENDS_ralink-base = "kernel-module-ecb kernel-module-arc4"
RDEPENDS_rt2400pci = "ralink-base (${PV})"
RDEPENDS_rt2500pci = "ralink-base (${PV})"
RDEPENDS_rt2500usb = "ralink-base (${PV})"
RDEPENDS_rt61pci = "ralink-base (${PV})"
RDEPENDS_rt73usb = "ralink-base (${PV}) rt73-firmware"
file: rt73-firmware_1.8.bb
DESCRIPTION = "Firmware for Ralink rt2570 USB 802.11g WiFi sticks"
HOMEPAGE = "http://rt2x00.serialmonkey.com/"
SECTION = "lib/firmware"
LICENSE = "unknown"
SRC_URI = "http://www.ralinktech.com.tw/data/RT71W_Firmware_V1.8.zip"
PV = "R1.8"
S = "${WORKDIR}"
do_install() {
install -d ${D}${base_libdir}/firmware/
install -m 0755 ${WORKDIR}/RT71W_Firmware_V1.8/rt73.bin
${D}${base_libdir}/firmware/rt73.bin
}
PACKAGE_ARCH = "all"
FILES_${PN} += "${base_libdir}/firmware/rt73.bin"
--
Jon Smirl
jonsmirl@gmail.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Adding Ralink rt2x00 CVS to openembedded
2007-02-19 16:10 Adding Ralink rt2x00 CVS to openembedded Jon Smirl
@ 2007-02-19 17:37 ` Koen Kooi
2007-02-19 19:14 ` Jon Smirl
0 siblings, 1 reply; 3+ messages in thread
From: Koen Kooi @ 2007-02-19 17:37 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jon Smirl schreef:
> Ralink makes 802.11 wireless adapters. The dscape version of this has
> not been merged into the main kernel yet so I need to use CVS to fetch
> it. The CVS repository builds modules for five different adapters
> simultaneously. How do I set the bitbake file up to make these
> independently installable?
>
> This doesn't work, when I try to include rt73usb into the slugosbe
> image make says it can't find rt73usb.
Could you attach it to http://bugs.openembedded.org please?
regards,
Koen
> file: rt2570_cvs.bb
>
> DESCRIPTION = "Driver for Ralink rt2570 USB 802.11g WiFi sticks"
> HOMEPAGE = "http://rt2x00.serialmonkey.com/"
> SECTION = "kernel/modules"
> LICENSE = "GPL"
>
> SRC_URI = "cvs://anonymous@rt2400.cvs.sourceforge.net/cvsroot/rt2400;module=source/rt2x00;method=pserver"
>
> inherit module
>
> PV = "cvs${SRCDATE}"
> S = "${WORKDIR}/rt2x00/"
>
> EXTRA_OEMAKE = "KERNDIR=${STAGING_KERNEL_DIR}"
>
> NET_MODULES = "80211 crc-itu-t eeprom_93cx6 rc80211_simple rt2400pci
> rt2500pci rt2500usb rt61pci rt73usb"
>
> do_install() {
> install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/net
> for i in ${NET_MODULES}
> do
> install -m 0644 $i${KERNEL_OBJECT_SUFFIX}
> ${D}${base_libdir}/modules/${KERNEL_VERSION}/net/
> done
> }
>
> PACKAGES = "rt2400pci rt2500pci rt2500usb rt61pci rt73usb ralink-base"
> FILES_ralink-base =
> "${D}${base_libdir}/modules/${KERNEL_VERSION}/net/80211${KERNEL_OBJECT_SUFFIX}"
> FILES_ralink-base +=
> "${D}${base_libdir}/modules/${KERNEL_VERSION}/net/crc-itu-t${KERNEL_OBJECT_SUFFIX}"
> FILES_ralink-base +=
> "${D}${base_libdir}/modules/${KERNEL_VERSION}/net/eeprom_93cx6${KERNEL_OBJECT_SUFFIX}"
> FILES_ralink-base +=
> "${D}${base_libdir}/modules/${KERNEL_VERSION}/net/rc80211_simple${KERNEL_OBJECT_SUFFIX}"
>
> FILES_rt2400pci =
> "${D}${base_libdir}/modules/${KERNEL_VERSION}/net/rt2400pci${KERNEL_OBJECT_SUFFIX}"
> FILES_rt2500pci =
> "${D}${base_libdir}/modules/${KERNEL_VERSION}/net/rt2500pci${KERNEL_OBJECT_SUFFIX}"
> FILES_rt2500usb =
> "${D}${base_libdir}/modules/${KERNEL_VERSION}/net/rt2500usb${KERNEL_OBJECT_SUFFIX}"
> FILES_rt61pci =
> "${D}${base_libdir}/modules/${KERNEL_VERSION}/net/rt61pci${KERNEL_OBJECT_SUFFIX}"
> FILES_rt73usb =
> "${D}${base_libdir}/modules/${KERNEL_VERSION}/net/rt73usb${KERNEL_OBJECT_SUFFIX}"
>
> RDEPENDS_ralink-base = "kernel-module-ecb kernel-module-arc4"
> RDEPENDS_rt2400pci = "ralink-base (${PV})"
> RDEPENDS_rt2500pci = "ralink-base (${PV})"
> RDEPENDS_rt2500usb = "ralink-base (${PV})"
> RDEPENDS_rt61pci = "ralink-base (${PV})"
> RDEPENDS_rt73usb = "ralink-base (${PV}) rt73-firmware"
>
>
> file: rt73-firmware_1.8.bb
>
> DESCRIPTION = "Firmware for Ralink rt2570 USB 802.11g WiFi sticks"
> HOMEPAGE = "http://rt2x00.serialmonkey.com/"
> SECTION = "lib/firmware"
> LICENSE = "unknown"
>
> SRC_URI = "http://www.ralinktech.com.tw/data/RT71W_Firmware_V1.8.zip"
>
> PV = "R1.8"
> S = "${WORKDIR}"
>
> do_install() {
> install -d ${D}${base_libdir}/firmware/
> install -m 0755 ${WORKDIR}/RT71W_Firmware_V1.8/rt73.bin
> ${D}${base_libdir}/firmware/rt73.bin
> }
>
> PACKAGE_ARCH = "all"
> FILES_${PN} += "${base_libdir}/firmware/rt73.bin"
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFF2eBNMkyGM64RGpERArCNAKCzVOSZwYV4Ttf1iV2Am7nVecjsZACfTyNM
giRCb0LkTfLcDyiL6m1P1Ps=
=+O5c
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Adding Ralink rt2x00 CVS to openembedded
2007-02-19 17:37 ` Koen Kooi
@ 2007-02-19 19:14 ` Jon Smirl
0 siblings, 0 replies; 3+ messages in thread
From: Jon Smirl @ 2007-02-19 19:14 UTC (permalink / raw)
To: openembedded-devel; +Cc: openembedded-devel
On 2/19/07, Koen Kooi <koen@dominion.kabel.utwente.nl> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jon Smirl schreef:
> > Ralink makes 802.11 wireless adapters. The dscape version of this has
> > not been merged into the main kernel yet so I need to use CVS to fetch
> > it. The CVS repository builds modules for five different adapters
> > simultaneously. How do I set the bitbake file up to make these
> > independently installable?
> >
> > This doesn't work, when I try to include rt73usb into the slugosbe
> > image make says it can't find rt73usb.
>
> Could you attach it to http://bugs.openembedded.org please?
I created bug 1890 and attached my two files.
http://bugs.openembedded.org/show_bug.cgi?id=1890
The attached files don't build the correct packages. I need some help
with bitbake on how to build five different packages from one CVS
repo.
--
Jon Smirl
jonsmirl@gmail.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-02-19 19:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-19 16:10 Adding Ralink rt2x00 CVS to openembedded Jon Smirl
2007-02-19 17:37 ` Koen Kooi
2007-02-19 19:14 ` Jon Smirl
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.