X-Git-Url: http://git.linex4red.de/pub/spi-gpio-pp.git/blobdiff_plain/813458776ee097275c377f19853773b39dab193a..refs/heads/master:/Makefile diff --git a/Makefile b/Makefile index 42afee9..b5ab670 100644 --- a/Makefile +++ b/Makefile @@ -125,6 +125,14 @@ else # We've got a kernel with seperate output, copy the config, and use O= $(MAKE) -C $(KSRC) M=$(PWD) MODVERDIR=$(MODVERDIR)) O=$(PWD)/tmp modules endif +test-gpio: modules + rmmod lp || true + rmmod ppdev || true + rmmod gpio_test || true + rmmod gpio_parport || true + insmod gpio_parport.ko + insmod gpio_test.ko gpi=254 irq=7 + install: modules for mod; $(list-m); do modprobe -r $mod || true; done install -d $(INSTALLDIR)