summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/Makefile b/linux/Makefile
index 41339420..c82be8fd 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -172,6 +172,10 @@ endif
endif
+ifeq ($(findstring 2.4,$(RUNNING_REL)),)
+$(error Building 2.4 version on $(RUNNING_REL))
+endif
+
CLEANCONFIG := $(shell if cmp -s $(LINUXDIR)/.config .config; then echo y; fi)
ifeq ($(CLEANCONFIG),y)
CLEANFILES += $(LINUXDIR)/.config .config $(LINUXDIR)/tmp_include_depends