From: Rod Whitby <rod@whitby.id.au>
To: openembedded-devel@lists.openembedded.org
Subject: [RFC] madwifi staging and hostap-deamon support for madwifi
Date: Mon, 12 Mar 2007 13:39:15 +1030 [thread overview]
Message-ID: <45F4C45B.8020601@whitby.id.au> (raw)
I want to get hostap-deamon working for madwifi (on the IOMega NAS100d,
and D-Link DSMG-600 RevA).
Currently, it does not support madwifi, and the current madwifi-ng
recipe is putting the include files in a place other than the place that
hostapd looks for them during the compile. Also, hostapd has an
RDEPENDS on hostapd-modules, which does not make sense for madwifi.
I'd like to change madwifi-ng to put the files in the right place, and
then change hostap-daemon to enable madwifi support and use those
include files. Are there any other known packages that use madwifi
include files that may be affected?
I can either enable this globally, or enable it for the slugos distro
only, or enable it for ixp4xx machines only. Which should I do?
Here is the madwifi-ng.inc patch:
> do_stage() {
> - install -d ${STAGING_INCDIR}/${PN}/include
> - install -d ${STAGING_INCDIR}/${PN}/net80211
> - cp --dereference include/compat.h ${STAGING_INCDIR}/${PN}/include/
> - cp --dereference net80211/*.h ${STAGING_INCDIR}/${PN}/net80211/
> + install -d ${STAGING_INCDIR}/net80211
> + cp --dereference include/compat.h ${STAGING_INCDIR}/net80211/
> + cp --dereference net80211/*.h ${STAGING_INCDIR}/net80211/
> }
Here is the hostap-daemon.inc patch (example using a _ixp4xx override):
> -RDEPENDS = "hostap-modules hostap-utils (${PV})"
> +RDEPENDS = "hostap-utils (${PV})"
> +DEPENDS_append_ixp4xx = " madwifi-ng"
>
> +do_configure_ixp4xx() {
> + sed -e 's/\#CONFIG_DRIVER_MADWIFI=y/CONFIG_DRIVER_MADWIFI=y/' \
> + '${WORKDIR}/defconfig' >>'${S}/.config'
> +}
If there are no responses, I will continue with the madwifi-ng change as
above, and do the override for all _ixp4xx machines.
-- Rod
next reply other threads:[~2007-03-12 3:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-12 3:09 Rod Whitby [this message]
2007-03-12 8:08 ` [RFC] madwifi staging and hostap-deamon support for madwifi Marcin Juszkiewicz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45F4C45B.8020601@whitby.id.au \
--to=rod@whitby.id.au \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox