From e5ac2169fcbbe82d335c0ebdd4b20257fb0b3a76 Mon Sep 17 00:00:00 2001 From: Stricted Date: Thu, 22 Mar 2018 16:44:48 +0100 Subject: [PATCH] fix mali API_VERSION grep --- drivers/misc/mediatek/gpu/mt8127/mali/mali/Kbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/mediatek/gpu/mt8127/mali/mali/Kbuild b/drivers/misc/mediatek/gpu/mt8127/mali/mali/Kbuild index c4fcd5d9c46..7f6abae267c 100755 --- a/drivers/misc/mediatek/gpu/mt8127/mali/mali/Kbuild +++ b/drivers/misc/mediatek/gpu/mt8127/mali/mali/Kbuild @@ -202,7 +202,7 @@ ccflags-y += -DSVN_REV_STRING=\"$(DRIVER_REV)\" ccflags-y += -I$(srctree)/drivers/staging/android VERSION_STRINGS := -VERSION_STRINGS += API_VERSION=$(shell cd $(DRIVER_DIR); grep "\#define _MALI_API_VERSION" $(FILES_PREFIX)include/linux/mali/mali_utgard_uk_types.h | cut -d' ' -f 3 ) +VERSION_STRINGS += API_VERSION=$(shell grep "\#define _MALI_API_VERSION" $(srctree)/$(DRIVER_DIR)/include/linux/mali/mali_utgard_uk_types.h | cut -d' ' -f 3 ) VERSION_STRINGS += REPO_URL=$(REPO_URL) VERSION_STRINGS += REVISION=$(DRIVER_REV) VERSION_STRINGS += CHANGED_REVISION=$(CHANGED_REVISION)