diff options
author | Jon Smirl <jonsmirl@yahoo.com> | 2004-09-24 04:21:21 +0000 |
---|---|---|
committer | Jon Smirl <jonsmirl@yahoo.com> | 2004-09-24 04:21:21 +0000 |
commit | 1d6392f1fdcd8ed7e2936af815387d12ee124cab (patch) | |
tree | 56e19fbec08710f0526e11d600c9cd68ba254db9 | |
parent | 74f063fc9d445f263242063e7acab1864ff75205 (diff) |
Makefile reminder to build in 2.6 when on 2.6
-rw-r--r-- | linux-core/Makefile | 4 | ||||
-rw-r--r-- | linux/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
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 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 |