summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle K <kylek389@gmail.com>2012-12-30 15:48:39 -0600
committerKyle Kaminski <kyle@kkaminsk.com>2012-12-30 15:48:39 -0600
commit9618a5e3d3104dc92223f7a51283e603cce31628 (patch)
tree7f4819c0538c7fd8dcfdd1378852dc80e7988a8d
parent3207df143a96c86e406c3c9dc1990a0642b9f98e (diff)
downloadkernelhello-9618a5e3d3104dc92223f7a51283e603cce31628.tar.gz
kernelhello-9618a5e3d3104dc92223f7a51283e603cce31628.tar.bz2
kernelhello-9618a5e3d3104dc92223f7a51283e603cce31628.zip
user perm makefile target
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index eba35e6..a4b3494 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@ endif
#
# objects that are part of hello module (hello.o)
+#hello-objs += main.o debug.o
hello-y += main.o debug.o
# .ko module to be created
@@ -27,5 +28,9 @@ all:
kclean:
make -C $(KERNELDIR) M=$(PWD) clean
+# if above gives perm problem for normal user, try this
+kcleanu:
+ make -C $(KERNELDIR) SUBDIRS=$(CURDIR) clean
+
clean:
@rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions Module.symvers modules.order