If kernel is *not* 2.6.23 or 2.6.24 the headers of libnl where not
exported, but hostapd needs the headers to build.

This patches corrects the problem.

x86 image doesn't build without this patch.

Or is there a better way to detect an image for kernel 2.6?


--
Hauke Mehrtens
Index: Makefile
===================================================================
--- Makefile	(Revision 11305)
+++ Makefile	(Arbeitskopie)
@@ -36,7 +36,7 @@
 		install
 endef
 
-ifneq ($(CONFIG_LINUX_2_6_23)$(CONFIG_LINUX_2_6_24),)
+ifneq ($(CONFIG_LINUX_2_6_23)$(CONFIG_LINUX_2_6_24)$(CONFIG_LINUX_2_6_25)$(CONFIG_LINUX_2_6_26),)
   define Build/InstallDev
 	$(INSTALL_DIR) $(1)
 	$(CP) $(PKG_INSTALL_DIR)/* $(1)/

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to