summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-lts-grsec/Kbuild
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-12-03 14:30:09 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-12-03 14:30:09 -0200
commitd88edb002d66fe2b8d9f48c4ea5cb39314c2c39e (patch)
treee346fb54d487e01ac6a2a19428d55f55ff2e6ee1 /kernels/linux-libre-lts-grsec/Kbuild
parente3db951361daf3306b22207e60742718d9519704 (diff)
linux-libre-lts-grsec: adding new package to [kernels] repo
Diffstat (limited to 'kernels/linux-libre-lts-grsec/Kbuild')
-rwxr-xr-xkernels/linux-libre-lts-grsec/Kbuild19
1 files changed, 19 insertions, 0 deletions
diff --git a/kernels/linux-libre-lts-grsec/Kbuild b/kernels/linux-libre-lts-grsec/Kbuild
new file mode 100755
index 000000000..8a9d7dceb
--- /dev/null
+++ b/kernels/linux-libre-lts-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/