From 06366c172c487b3038b52e8fe640747b4092a544 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Sun, 19 Dec 2010 00:56:03 +0100 Subject: Prevent calling Makefile directly in the kernel/ subdirectory --- kernel/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kernel') 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 -- cgit v1.2.3