From 0ec5192c336f5bf971e6dd02031360e2f157af51 Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 11 May 2008 20:56:51 +0000 Subject: add a macro to compare kernel patch versions and use it for crypto and watchdog changes in 2.6.24+ kernels (closes: #3402) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11115 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/kernel/modules/other.mk') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index bf674644d..482c06c4a 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -270,7 +270,7 @@ $(eval $(call KernelPackage,mmc-at91)) ifeq ($(KERNEL),2.4) WATCHDOG_DIR=char endif -ifeq ($(KERNEL_PATCHVER),2.6.24) +ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.24)),1) WATCHDOG_DIR=watchdog endif WATCHDOG_DIR?=char/watchdog -- cgit v1.2.3