You can use the "CompareKernelPatchVer" macro, defined in ./include/kernel.mk. A typical use can be found in ./package/fuse/Makefile.
Regards, -- Nico Hauke Mehrtens wrote: > 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 > > ------------------------------------------------------------------------ > > _______________________________________________ > openwrt-devel mailing list > [email protected] > http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel _______________________________________________ openwrt-devel mailing list [email protected] http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
