18 lines
501 B
Makefile
18 lines
501 B
Makefile
# Makefile for use with Android's kernel/build system
|
|
|
|
KBUILD_OPTIONS += CAMERA_KERNEL_ROOT=$(KERNEL_SRC)/$(M)
|
|
KBUILD_OPTIONS += KERNEL_ROOT=$(KERNEL_SRC)
|
|
KBUILD_OPTIONS += MODNAME=camera
|
|
KBUILD_OPTIONS += KBUILD_EXTRA_SYMBOLS=$(OUT_DIR)/../sm7435-modules/qcom/opensource/mmrm-driver/Module.symvers
|
|
|
|
all: modules
|
|
|
|
modules dtbs:
|
|
$(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS)
|
|
|
|
modules_install:
|
|
$(MAKE) M=$(M) -C $(KERNEL_SRC) modules_install
|
|
|
|
clean:
|
|
$(MAKE) -C $(KERNEL_SRC) M=$(M) clean
|