summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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