summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-12-19 00:56:03 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-12-19 00:56:03 +0100
commit06366c172c487b3038b52e8fe640747b4092a544 (patch)
tree531611851a2df952a7e8862b693993f68bd1c7bb
parent35b9b20a7398e4a5ea919cd0a2d4a2664039cbd2 (diff)
Prevent calling Makefile directly in the kernel/ subdirectory
-rw-r--r--kernel/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/Makefile b/kernel/Makefile
index ca85e88..7881b98 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -1,3 +1,7 @@
+ifndef IP_SET_MAX
+$(error "Use the toplevel Makefile, not the one in the kernel/ subdirectory")
+endif
+
ifneq ($(KERNELRELEASE),)
include Kbuild
else