
git-subtree-dir: qcom/opensource/graphics-kernel git-subtree-mainline:992813d9c1
git-subtree-split:b4fdc4c042
Change-Id: repo: https://git.codelinaro.org/clo/la/platform/vendor/qcom/opensource/graphics-kernel tag: GRAPHICS.LA.14.0.r1-07700-lanai.0
18 lines
418 B
Makefile
18 lines
418 B
Makefile
ifeq ($(KGSL_MODULE_ROOT),)
|
|
CUR_MKFILE = $(abspath $(lastword $(MAKEFILE_LIST)))
|
|
KGSL_MODULE_ROOT = $(dir $(CUR_MKFILE))
|
|
endif
|
|
|
|
KBUILD_OPTIONS+=KGSL_PATH=$(KGSL_MODULE_ROOT)
|
|
|
|
all: modules
|
|
|
|
modules_install:
|
|
$(MAKE) INSTALL_MOD_STRIP=1 -C $(KERNEL_SRC) M=$(M) modules_install
|
|
|
|
clean:
|
|
rm -f *.cmd *.d *.mod *.o *.ko *.mod.c *.mod.o Module.symvers modules.order
|
|
|
|
%:
|
|
$(MAKE) -C $(KERNEL_SRC) M=$(M) $@ $(KBUILD_OPTIONS)
|