gpu: mali: allow midgard for linux build as a module
authorayaka <ayaka@soulik.info>
Mon, 16 Jan 2017 04:42:56 +0000 (12:42 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 19 Jan 2017 06:43:06 +0000 (14:43 +0800)
In order to build a kernel for different platforms, the mali
module should be load at boot time.

Change-Id: I03144648cb3548c6916620bc73fdfa2b4dab98dd
Signed-off-by: ayaka <ayaka@soulik.info>
Signed-off-by: Randy Li <randy.li@rock-chips.com>
drivers/gpu/arm/midgard_for_linux/Kbuild
drivers/gpu/arm/midgard_for_linux/backend/gpu/Kbuild
drivers/gpu/arm/midgard_for_linux/platform/rk/Kbuild

index 3c6d8ef78d74e5b525fab5120cddd9cc530f54ad..6ba0374d20abd97f58a935af72619a65f5ec1fd3 100644 (file)
 # Boston, MA  02110-1301, USA.
 #
 #
-
-# add default config for RK Linux device for absence of Kconfig.
-include drivers/gpu/arm/midgard_for_linux/default_config.mk
-
 # Driver version string which is returned to userspace via an ioctl
 MALI_RELEASE_NAME ?= "r13p0-00rel0"
 
index 52dac8dfb9959e65cf0ebfefc0ef2130cbe115a7..107783fbd5b1476eff1b18ee86f15597dd486ece 100644 (file)
 # Boston, MA  02110-1301, USA.
 #
 #
-
-# add default config for RK Linux device for absence of Kconfig.
-include drivers/gpu/arm/midgard_for_linux/default_config.mk
-
 BACKEND += \
        backend/gpu/mali_kbase_cache_policy_backend.c \
        backend/gpu/mali_kbase_device_hw.c \
index d5e0cca6362cd2bae020715c3aa1ef2eeb979b4a..9fe54cae2fd49beda740026f37195e8b05c5ebf3 100755 (executable)
 # Boston, MA  02110-1301, USA.
 #
 #
-
-# add default config for RK Linux device for absence of Kconfig.
-include drivers/gpu/arm/midgard_for_linux/default_config.mk
-
 ccflags-y += -I$(srctree)/drivers/staging/android
 
 ifeq ($(CONFIG_MALI_MIDGARD),y)