On Sun, Jun 19, 2005 at 08:18:18PM +0200, Mattia Dongili wrote: [...] > * Build with: > * make EXTRA_CFLAGS+='-DCONFIG_CPUFREQ_EV_CHR' > * or > * make EXTRA_CFLAGS+='-DCONFIG_CPUFREQ_EV_SYSFS' oh well, and a Makefile like the one on LDD3: ifneq ($(KERNELRELEASE),) #EXTRA_CFLAGS += -DCONFIG_CPUFREQ_EV_CHR -g obj-m := cpufreq_event.o else KERNELDIR ?= /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) default: $(MAKE) -C $(KERNELDIR) M=$(PWD) modules endif -- mattia :wq! -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/