sm8750: init kernel modules repo
This commit is contained in:
17
qcom/opensource/graphics-kernel/Makefile
Normal file
17
qcom/opensource/graphics-kernel/Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user