add a macro to compare kernel patch versions and use it for crypto and watchdog chang...
[openwrt.git] / package / kernel / modules / other.mk
index bf67464..482c06c 100644 (file)
@@ -270,7 +270,7 @@ $(eval $(call KernelPackage,mmc-at91))
 ifeq ($(KERNEL),2.4)
   WATCHDOG_DIR=char
 endif
 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
   WATCHDOG_DIR=watchdog
 endif
 WATCHDOG_DIR?=char/watchdog
This page took 0.021486 seconds and 4 git commands to generate.