On 2011-10-11 1:31 PM, 馬克泡 wrote:
Hi nbd,

I have an idea about add gctwimax (user space gct wimax driver)
support into openwrt.
However, to compile gctwimax require libusb-1.0, dbus, glib and
libeap's support.

To compile libeap need to apply this patch to wpa_supplicant 0.7.2/0.7.3.
http://git.overlays.gentoo.org/gitweb/?p=dev/alexxy.git;a=blob;f=net-wireless/wpa_supplicant/files/wpa_supplicant-0.7.3-generate-libeap-peer.patch;h=a2bbc5c8448e313f077dc5644dd3cee7f9f2a0aa;hb=3ef87034f66b89c29358ef2984460d1c52dcf319

When I was trying to add a package of libeap through the
package/hostapd/Makefile into openwrt.
I've encountered a problem that LOCAL_TYPE in Makefile is always match
to supplicant, wpad, or hostapd.
I just cannot add a new LOCAL_TYPE as libeap even modified Makefile.

Could you give me a hint or help on a separated libeap package so that
supporting gctwimax is possible.
Thanks.
LOCAL_TYPE is set based on checks on BUILD_VARIANT. To make sure that a new build variant for libeap shows up, you need to create a libeap package with VARIANT:=libeap, then add an appropriate $(if $(findstring libeap,$(BUILD_TYPE)),libeap) check to the LOCAL_TYPE definition.

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to