aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel.mk
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-12-15 01:59:14 +0000
committerJohn Crispin <blogic@openwrt.org>2012-12-15 01:59:14 +0000
commit8339eed6b998def3eb1f5c31a2b178db716306d5 (patch)
treee55ec24175685add318bbf4787e7358edcf6c497 /include/kernel.mk
parent7d0cb0b8f09e73151616e675f8e80d8c3bb3f18b (diff)
downloadupstream-8339eed6b998def3eb1f5c31a2b178db716306d5.tar.gz
upstream-8339eed6b998def3eb1f5c31a2b178db716306d5.tar.bz2
upstream-8339eed6b998def3eb1f5c31a2b178db716306d5.zip
[include] adds wrapper for uapi directory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34683 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/kernel.mk')
-rw-r--r--include/kernel.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index 589db024db..eabf9484fa 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -35,6 +35,7 @@ else
endif
KERNEL_BUILD_DIR ?= $(BUILD_DIR)/linux-$(BOARD)$(if $(SUBTARGET),_$(SUBTARGET))
LINUX_DIR ?= $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)
+ LINUX_UAPI_DIR=$(firstword $(wildcard $(LINUX_DIR)/include/uapi $(LINUX_DIR)/include))
LINUX_VERMAGIC:=$(strip $(shell cat $(LINUX_DIR)/.vermagic 2>/dev/null))
LINUX_VERMAGIC:=$(if $(LINUX_VERMAGIC),$(LINUX_VERMAGIC),unknown)