diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-12-19 00:56:03 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-12-19 00:56:03 +0100 |
commit | 06366c172c487b3038b52e8fe640747b4092a544 (patch) | |
tree | 531611851a2df952a7e8862b693993f68bd1c7bb | |
parent | 35b9b20a7398e4a5ea919cd0a2d4a2664039cbd2 (diff) |
Prevent calling Makefile directly in the kernel/ subdirectory
-rw-r--r-- | kernel/Makefile | 4 |
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 |