summaryrefslogtreecommitdiff
path: root/drivers/gpu/mali/Makefile
blob: 93c95aca19a5a0bbeb79c8da0ea1af97ca2fc605 (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-y			+= $(MALIDRM_SUBFOLDER)/
else
$(warning WARNING: mali: Could not find $(MALI_FOLDER) - mali device driver will not be built)
obj-n += ./
endif