index
:
openwrt.git
OpenWrt Source Repository
log msg
author
committer
range
feature/odhcpd_odhcp6c_udhcpc-capsdrop
linksys3200ac-master
master
about
summary
refs
log
tree
commit
diff
path:
root
/
include
/
kernel.mk
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
John Crispin <john@openwrt.org>
2012-12-15 01:59:14 +0000
committer
John Crispin <john@openwrt.org>
2012-12-15 01:59:14 +0000
commit
0803171cd1f5963df0779412b21738435fbd7909
(
patch
)
tree
17d6c881fe3cba04568d5195b12a96e96b16cf1b
/
include/kernel.mk
parent
d8678644f9b18f36bdd5e7825e09c65dfcd049dc
(
diff
)
adds wrapper for uapi directory
SVN-Revision: 34683
Diffstat
(limited to 'include/kernel.mk')
-rw-r--r--
include/kernel.mk
1
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)