I'm trying to create and add a kernel module to Kubuntu 7.10. The instructions for creating it are:
Makefile-2.6 Kernel
ifneq ($(KERNELRELEASE),)
obj-m := viahss.o
else
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
endif
I have no idea what this means. Could someone help me with this? Thanks.
Makefile-2.6 Kernel
ifneq ($(KERNELRELEASE),)
obj-m := viahss.o
else
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
endif
I have no idea what this means. Could someone help me with this? Thanks.
Comment