summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-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