summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-grsec/Kbuild
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-04 16:17:05 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-04 16:17:05 -0200
commit879989bf1e2740dc5c80f7b9739705196cb7fb2c (patch)
tree6e0471e503a24d8aa3c00416e4f9655978480bc9 /kernels/linux-libre-grsec/Kbuild
parent11feaef641dd00215b04a2456cc1898d024b5e9d (diff)
downloadabslibre-879989bf1e2740dc5c80f7b9739705196cb7fb2c.tar.gz
abslibre-879989bf1e2740dc5c80f7b9739705196cb7fb2c.tar.bz2
abslibre-879989bf1e2740dc5c80f7b9739705196cb7fb2c.zip
linux-libre-grsec: add new package to kernels repo
Diffstat (limited to 'kernels/linux-libre-grsec/Kbuild')
-rw-r--r--kernels/linux-libre-grsec/Kbuild19
1 files changed, 19 insertions, 0 deletions
diff --git a/kernels/linux-libre-grsec/Kbuild b/kernels/linux-libre-grsec/Kbuild
new file mode 100644
index 000000000..8a9d7dceb
--- /dev/null
+++ b/kernels/linux-libre-grsec/Kbuild
@@ -0,0 +1,19 @@
+# Fail on warnings - also for files referenced in subdirs
+# -Werror can be disabled for specific files using:
+# CFLAGS_<file.o> := -Wno-error
+subdir-ccflags-y := -Wno-error
+
+# platform specific definitions
+include arch/mips/Kbuild.platforms
+obj-y := $(platform-y)
+
+# make clean traverses $(obj-) without having included .config, so
+# everything ends up here
+obj- := $(platform-)
+
+# mips object files
+# The object files are linked as core-y files would be linked
+
+obj-y += kernel/
+obj-y += mm/
+obj-y += math-emu/