disp: enable display driver code compilation

This change enables display driver compilation from
techpack path and removes stub file from display project.

Change-Id: I766a34d054e09466fddae379813568435327bef6
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
This commit is contained in:
Narendra Muppalla
2019-04-02 14:32:51 -07:00
parent 11c9fc4e92
commit eeaef40ed6
2 changed files with 14 additions and 7 deletions

View File

@@ -1,3 +1,15 @@
# SPDX-License-Identifier: GPL-2.0-only
ccflags-y := -Wno-unused-function
obj-y := disp.o
# auto-detect subdirs
ifeq ($(CONFIG_ARCH_KONA), y)
include $(srctree)/techpack/display/config/konadisp.conf
export
endif
ifeq ($(CONFIG_ARCH_KONA), y)
LINUXINCLUDE += -include $(srctree)/techpack/display/config/konadispconf.h
endif
obj-y += msm/
obj-y += rotator/
obj-y += pll/

5
disp.c
View File

@@ -1,5 +0,0 @@
// SPDX-License-Identifier: GPL-2.0-only
static void _disp_techpack_stub(void)
{
}