Rev 11 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11 | Rev 43 | ||
---|---|---|---|
Line 39... | Line 39... | ||
39 | #**************************************************************************** |
39 | #**************************************************************************** |
40 | # please modify only here if your kernel path is elsewhere located |
40 | # please modify only here if your kernel path is elsewhere located |
41 | # |
41 | # |
42 | KERNEL_LOCATION =/usr/src/linux-headers-$(shell uname -r) |
42 | KERNEL_LOCATION =/usr/src/linux-headers-$(shell uname -r) |
43 | 43 | ||
44 | EXTRA_CFLAGS := -I. |
44 | EXTRA_CFLAGS := -I. |
45 | #**************************************************************************** |
45 | #**************************************************************************** |
46 | # removed old kernel source path retrival for support of kernels < 2.2.18! |
46 | # removed old kernel source path retrival for support of kernels < 2.2.18! |
47 | # old KERNSRC = /lib/modules/$(VERSION)/build |
47 | # old KERNSRC = /lib/modules/$(VERSION)/build |
48 | # |
48 | # |
49 | KERNSRC := $(KERNEL_LOCATION) |
49 | KERNSRC := $(KERNEL_LOCATION) |
Line 109... | Line 109... | ||
109 | CPPFLAGS += -I$(PWD) -D$(DBG) |
109 | CPPFLAGS += -I$(PWD) -D$(DBG) |
110 | 110 | ||
111 | #**************************************************************************** |
111 | #**************************************************************************** |
112 | # do it |
112 | # do it |
113 | # |
113 | # |
114 | KBUILD_CPPFLAGS += -D$(DBG) |
114 | KBUILD_CPPFLAGS += -D$(DBG) |
- | 115 | KBUILD_CPPFLAGS += -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast |
|
115 | 116 | ||
116 | all : message |
117 | all : message |
117 | $(MAKE) -C $(KERNSRC) M=$(PWD) V=$(VERBOSE) $(filter-out all, $(MAKECMDGOLAS)) modules |
118 | $(MAKE) -C $(KERNSRC) M=$(PWD) V=$(VERBOSE) $(filter-out all, $(MAKECMDGOLAS)) modules |
118 | 119 | ||
119 | else # <<<<< USEKBUILD >>>>>> |
120 | else # <<<<< USEKBUILD >>>>>> |