summaryrefslogtreecommitdiff
path: root/drivers/gpu/mali/Makefile
blob: 698dcb0e590ebeb84d8e3b34a1a30aacfb7b0b94 (plain)
1
2
3
4
5
6
7
8
9
10
MALI_SUBFOLDER := mali400ko/driver/src/devicedrv/mali
MALIDRM_SUBFOLDER := mali400ko/x11/mali_drm/mali
MALI_FOLDER := $(srctree)/$(src)/$(MALI_SUBFOLDER)
ifeq ($(shell [ -d $(MALI_FOLDER) ] && echo "OK"), OK)
obj-$(CONFIG_GPU_MALI)  += $(MALI_SUBFOLDER)/
obj-$(CONFIG_MALI_DRM) += $(MALIDRM_SUBFOLDER)/
else
$(warning WARNING: mali: Could not find $(MALI_FOLDER) - mali device driver will not be built)
obj-n += ./
endif