From 0803171cd1f5963df0779412b21738435fbd7909 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sat, 15 Dec 2012 01:59:14 +0000 Subject: [PATCH] adds wrapper for uapi directory SVN-Revision: 34683 --- include/kernel.mk | 1 + 1 file changed, 1 insertion(+) 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) -- 2.30.2