From 1d6392f1fdcd8ed7e2936af815387d12ee124cab Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Fri, 24 Sep 2004 04:21:21 +0000 Subject: Makefile reminder to build in 2.6 when on 2.6 --- linux-core/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linux-core/Makefile') diff --git a/linux-core/Makefile b/linux-core/Makefile index 41339420..c82be8fd 100644 --- a/linux-core/Makefile +++ b/linux-core/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 -- cgit v1.2.3