diff options
author | Sidath Senanayake <sidaths@google.com> | 2020-08-17 15:13:43 +0100 |
---|---|---|
committer | Sidath Senanayake <sidaths@google.com> | 2020-08-17 18:48:05 +0000 |
commit | 637800ab851f73d006df584d836d50a954dbe38e (patch) | |
tree | 5ce3b9a5ebd8c709f9ba5a6eb891701e8523bb59 /mali_kbase/Kbuild | |
parent | 66d12ebddb5b6875f49b006c058e39357598d92d (diff) | |
download | gpu-637800ab851f73d006df584d836d50a954dbe38e.tar.gz |
mali_kbase: Specialize build for Pixel
This makes minimal changes to the Mali KMD sources
to allow for out-of-tree module builds targeted at
Pixel SOCs. It uses the devicetree platform config.
Bug: 156057140
Signed-off-by: Sidath Senanayake <sidaths@google.com>
Change-Id: I1b0ec234a02e565c60efc37aa93935374ded0155
Diffstat (limited to 'mali_kbase/Kbuild')
-rw-r--r-- | mali_kbase/Kbuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mali_kbase/Kbuild b/mali_kbase/Kbuild index 7abe8d3..ac9c824 100644 --- a/mali_kbase/Kbuild +++ b/mali_kbase/Kbuild @@ -21,9 +21,12 @@ # Driver version string which is returned to userspace via an ioctl -MALI_RELEASE_NAME ?= "r24p0-01rel0" +MALI_RELEASE_NAME ?= "r24p0-01rel0-pixel" # Paths required for build + +# make $(src) as absolute path if it isn't already, by prefixing $(srctree) +src:=$(if $(patsubst /%,,$(src)),$(srctree)/$(src),$(src)) KBASE_PATH = $(src) KBASE_PLATFORM_PATH = $(KBASE_PATH)/platform_dummy UMP_PATH = $(src)/../../../base |