
To support external module compilation on Waipio, camera dt-bindings header files need to be moved out of kernel SI and into the camera-kernel vendor SI. This is to maintain seperation between the two SI's. CRs-Fixed: 2835738 Change-Id: I8d63b48b6d406ed7b4a07f3bd4f1721ecd2dd0b0 Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
17 lines
396 B
Makefile
17 lines
396 B
Makefile
# Makefile for use with Android's kernel/build system
|
|
|
|
KBUILD_OPTIONS += CAMERA_KERNEL_ROOT=$(shell pwd)
|
|
KBUILD_OPTIONS += KERNEL_ROOT=$(ROOT_DIR)/$(KERNEL_DIR)
|
|
KBUILD_OPTIONS += MODNAME=camera
|
|
|
|
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
|