aboutsummarylogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorLeonardo Gates2018-12-21 17:39:56 -0400
committerLeonardo Gates2019-06-11 17:42:09 +0000
commitf5cfcf8b760889880130934293025740e85aa70c (patch)
treecac7485b753b61cdb08cf847e8237e817353f166 /Kbuild
downloadaur-havege-dkms.tar.gz
Initial commit.
Diffstat (limited to 'Kbuild')
-rw-r--r--Kbuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/Kbuild b/Kbuild
new file mode 100644
index 000000000000..78772d3377ae
--- /dev/null
+++ b/Kbuild
@@ -0,0 +1,6 @@
+EXTRA_CFLAGS += -Wall -D__MODULE__ -DFORTIFY_SOURCE=2 -DRANDSTRUCT_PLUGIN -DCONSTIFY_PLUGIN -DSTRUCTLEAK_PLUGIN -DLATENT_ENTROPY_PLUGIN -fstack-protector-strong
+
+obj-m := havege.o
+CFLAGS_havege.o := -O2
+
+clean-files := *~ \ No newline at end of file