
Enable new drivers for internal projects Change-Id: I902bec374358a836ff01de6f7a88c4122bc9c366 Signed-off-by: Fei Mao <feim1@codeaurora.org>
21 lines
503 B
Makefile
21 lines
503 B
Makefile
|
|
TOUCH_ROOT=$(ROOTDIR)vendor/qcom/opensource/touch-drivers
|
|
KBUILD_OPTIONS := TOUCH_ROOT=$(TOUCH_ROOT) CONFIG_MSM_TOUCH=m
|
|
|
|
ifeq ($(TARGET_SUPPORT),genericarmv8)
|
|
KBUILD_OPTIONS += CONFIG_ARCH_WAIPIO=y
|
|
endif
|
|
|
|
all:
|
|
$(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS)
|
|
|
|
modules_install:
|
|
$(MAKE) INSTALL_MOD_STRIP=1 -C $(KERNEL_SRC) M=$(M) modules_install
|
|
|
|
%:
|
|
$(MAKE) -C $(KERNEL_SRC) M=$(M) $@ $(KBUILD_OPTIONS)
|
|
|
|
clean:
|
|
rm -f *.o *.ko *.mod.c *.mod.o *~ .*.cmd Module.symvers
|
|
rm -rf .tmp_versions
|