Simplified Makefile for 2.5.x kernels

Jouni Malinen jkmaline
Thu Apr 24 20:06:10 PDT 2003


On Thu, Apr 24, 2003 at 06:03:37PM -0400, Pavel Roskin wrote:

> The code in the top-level Makefile to add machine-specific includes is not
> needed anymore.
> Also, I would like to hide from the user the name "2.5" in the targets.
> The patch is attached.

Thanks, applied with a minor fix.

> +# if Rules.make exists in the kernel tree, we assume 2.4 style modules
> +# if it doesn't assume 2.5 style
> +OLDMAKE = $(wildcard $(KERNEL_SRC)/Rules.make)

Did you test this with Linux 2.4.x? ;-)
s/KERNEL_SRC/KERNEL_PATH/

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list