aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-01-24 22:13:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-01-24 22:13:22 +0000
commitac28fb42d4f2f03dfb9fe7d2576a58095cdc3171 (patch)
tree982eb24ddc68ff927298e8528b0ca19a49d37036 /include
parent4fc7ff5ff76423c087d33000792e03007ad84efb (diff)
downloadupstream-ac28fb42d4f2f03dfb9fe7d2576a58095cdc3171.tar.gz
upstream-ac28fb42d4f2f03dfb9fe7d2576a58095cdc3171.tar.bz2
upstream-ac28fb42d4f2f03dfb9fe7d2576a58095cdc3171.zip
kernel: drop obsolete kernel version checks
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44113 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/kernel.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index eeb0c3d2bd..dd6c867ea0 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -35,9 +35,7 @@ else
endif
KERNEL_BUILD_DIR ?= $(BUILD_DIR)/linux-$(BOARD)$(if $(SUBTARGET),_$(SUBTARGET))
LINUX_DIR ?= $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)
- ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.7.0)),1)
- LINUX_UAPI_DIR=uapi/
- endif
+ LINUX_UAPI_DIR=uapi/
LINUX_VERMAGIC:=$(strip $(shell cat $(LINUX_DIR)/.vermagic 2>/dev/null))
LINUX_VERMAGIC:=$(if $(LINUX_VERMAGIC),$(LINUX_VERMAGIC),unknown)