From: John Crispin Date: Sat, 15 Dec 2012 01:59:14 +0000 (+0000) Subject: adds wrapper for uapi directory X-Git-Tag: reboot~11972 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0803171cd1f5963df0779412b21738435fbd7909;p=openwrt%2Fstaging%2Fnoltari.git adds wrapper for uapi directory SVN-Revision: 34683 --- 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)