diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 22:13:22 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 22:13:22 +0000 |
commit | ac28fb42d4f2f03dfb9fe7d2576a58095cdc3171 (patch) | |
tree | 982eb24ddc68ff927298e8528b0ca19a49d37036 /include | |
parent | 4fc7ff5ff76423c087d33000792e03007ad84efb (diff) | |
download | upstream-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.mk | 4 |
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) |