Skip to content
Snippets Groups Projects
  • Alessandro Rubini's avatar
    kernel: a few fixes · 35c436eb
    Alessandro Rubini authored
    - an (empty) spec-wr-nic modules is built
    - the loader now resets and unresets at the proper address
    - the the list of spec devices is exported to sub-modules
    35c436eb
Makefile 403 B

LINUX ?= /lib/modules/$(shell uname -r)/build

obj-m = spec.o
obj-m += spec-wr-nic.o
obj-m += spec-fine-delay.o

spec-objs = spec-core.o loader-ll.o

all modules:
	$(MAKE) -C $(LINUX) M=$(shell /bin/pwd) modules

install modules_install:
	$(MAKE) -C $(LINUX) M=$(shell /bin/pwd) modules_install


clean:
	rm -rf *.o *~  .*.cmd *.ko *.mod.c .tmp_versions Module.symvers \
		Module.markers modules.order