Re: [RFC] cpufreq event driver (aka my first lkm)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux