Skip to content

Commit

Permalink
Updated Makefile for packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchangeGabriel committed Sep 21, 2011
1 parent 39b7a83 commit dbeec00
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
@@ -1,6 +1,7 @@
obj-m := acpi_call.o obj-m := acpi_call.o


KDIR := /lib/modules/$(shell uname -r)/build KVERSION := $(shell uname -r)
KDIR := /lib/modules/$(KVERSION)/build
PWD := $(shell pwd) PWD := $(shell pwd)


default: default:
Expand All @@ -10,5 +11,5 @@ clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean $(MAKE) -C $(KDIR) M=$(PWD) clean


load: load:
-sudo /sbin/rmmod acpi_call -/sbin/rmmod acpi_call
sudo /sbin/insmod acpi_call.ko /sbin/insmod acpi_call.ko

0 comments on commit dbeec00

Please sign in to comment.