diff options
author | Jesse Hall <jessehall@google.com> | 2021-03-22 22:13:08 -0700 |
---|---|---|
committer | Jesse Hall <jessehall@google.com> | 2021-03-23 08:20:33 -0700 |
commit | e0072f7ba56eac21aeb7cdbb7b809e57be3b9e02 (patch) | |
tree | d718c89ae3aa8ebca9c6c031d7d171dec842aead /mali_pixel/Makefile | |
parent | 93bc11f6bce0fd9852b58bd0fea7ac008f2da7e5 (diff) | |
download | gpu-e0072f7ba56eac21aeb7cdbb7b809e57be3b9e02.tar.gz |
mali_pixel: consolidate mali_mgm and mali_pcm
Test: boot to Android home, check dmesg for mali-mcm and mali-pcm probe
Signed-off-by: Jesse Hall <jessehall@google.com>
Change-Id: I47a7da5fd3b4a24832e2978dcce0b99fe7b54c7c
Diffstat (limited to 'mali_pixel/Makefile')
-rw-r--r-- | mali_pixel/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mali_pixel/Makefile b/mali_pixel/Makefile new file mode 100644 index 0000000..517167e --- /dev/null +++ b/mali_pixel/Makefile @@ -0,0 +1,21 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright 2021 Google LLC +# + +KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build +M ?= $(shell pwd) + +KBUILD_OPTIONS += CONFIG_MALI_MEMORY_GROUP_MANAGER=m +KBUILD_OPTIONS += CONFIG_MALI_PRIORITY_CONTROL_MANAGER=m + +KBUILD_OPTIONS += $(KBUILD_EXTRA) # Extra config if any + +modules: + $(MAKE) -C $(KERNEL_SRC) M=$(M) W=1 EXTRA_CFLAGS="-I$(M) -I$(M)/../common/include" modules $(KBUILD_OPTIONS) $(@) + +modules_install: + $(MAKE) -C $(KERNEL_SRC) M=$(M) modules_install + +clean: + $(MAKE) -C $(KDIR) M=$(CURDIR) clean |