1 Reply Latest reply on Jan 5, 2016 4:56 PM by yliu

    Touchscreen Cyttsp5 Yocto Driver Build

    m.karrei.1528621

      Hi, I'm tring build the driver to my Touchscreen cyttsp5. I have the documentaton of "TrueTouch® Driver for Android (TTDA) User Guide", but I would like to build it to my Embedded Yocto Linux. The files of the driver, contain the make file below ( I dont know the method to generate *.o files to include in my kernel): The drivers files is attached. # # Makefile for the touchscreen drivers. # # Each configuration option enables a list of files. wm97xx-ts-y := wm97xx-core.o obj-$(CONFIG_TOUCHSCREEN_88PM860X) += 88pm860x-ts.o obj-$(CONFIG_TOUCHSCREEN_AD7877) += ad7877.o obj-$(CONFIG_TOUCHSCREEN_AD7879) += ad7879.o obj-$(CONFIG_TOUCHSCREEN_AD7879_I2C) += ad7879-i2c.o obj-$(CONFIG_TOUCHSCREEN_AD7879_SPI) += ad7879-spi.o obj-$(CONFIG_TOUCHSCREEN_ADS7846) += ads7846.o obj-$(CONFIG_TOUCHSCREEN_ATMEL_MXT) += atmel_mxt_ts.o obj-$(CONFIG_TOUCHSCREEN_ATMEL_TSADCC) += atmel_tsadcc.o obj-$(CONFIG_TOUCHSCREEN_BITSY) += h3600_ts_input.o obj-$(CONFIG_TOUCHSCREEN_BU21013) += bu21013_ts.o obj-$(CONFIG_TOUCHSCREEN_CY8CTMG110) += cy8ctmg110_ts.o obj-$(CONFIG_TOUCHSCREEN_DA9034) += da9034-ts.o obj-$(CONFIG_TOUCHSCREEN_DYNAPRO) += dynapro.o obj-$(CONFIG_TOUCHSCREEN_HAMPSHIRE) += hampshire.o obj-$(CONFIG_TOUCHSCREEN_GUNZE) += gunze.o obj-$(CONFIG_TOUCHSCREEN_EETI) += eeti_ts.o obj-$(CONFIG_TOUCHSCREEN_ELO) += elo.o obj-$(CONFIG_TOUCHSCREEN_FUJITSU) += fujitsu_ts.o obj-$(CONFIG_TOUCHSCREEN_INEXIO) += inexio.o obj-$(CONFIG_TOUCHSCREEN_INTEL_MID) += intel-mid-touch.o obj-$(CONFIG_TOUCHSCREEN_LPC32XX) += lpc32xx_ts.o obj-$(CONFIG_TOUCHSCREEN_MAX11801) += max11801_ts.o obj-$(CONFIG_TOUCHSCREEN_MC13783) += mc13783_ts.o obj-$(CONFIG_TOUCHSCREEN_MCS5000) += mcs5000_ts.o obj-$(CONFIG_TOUCHSCREEN_MIGOR) += migor_ts.o obj-$(CONFIG_TOUCHSCREEN_MTOUCH) += mtouch.o obj-$(CONFIG_TOUCHSCREEN_MK712) += mk712.o obj-$(CONFIG_TOUCHSCREEN_HP600) += hp680_ts_input.o obj-$(CONFIG_TOUCHSCREEN_HP7XX) += jornada720_ts.o obj-$(CONFIG_TOUCHSCREEN_HTCPEN) += htcpen.o obj-$(CONFIG_TOUCHSCREEN_USB_COMPOSITE) += usbtouchscreen.o obj-$(CONFIG_TOUCHSCREEN_PCAP) += pcap_ts.o obj-$(CONFIG_TOUCHSCREEN_PENMOUNT) += penmount.o obj-$(CONFIG_TOUCHSCREEN_S3C2410) += s3c2410_ts.o obj-$(CONFIG_TOUCHSCREEN_ST1232) += st1232.o obj-$(CONFIG_TOUCHSCREEN_STMPE) += stmpe-ts.o obj-$(CONFIG_TOUCHSCREEN_TNETV107X) += tnetv107x-ts.o obj-$(CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI) += synaptics_i2c_rmi.o obj-$(CONFIG_TOUCHSCREEN_TOUCHIT213) += touchit213.o obj-$(CONFIG_TOUCHSCREEN_TOUCHRIGHT) += touchright.o obj-$(CONFIG_TOUCHSCREEN_TOUCHWIN) += touchwin.o obj-$(CONFIG_TOUCHSCREEN_TSC_SERIO) += tsc40.o obj-$(CONFIG_TOUCHSCREEN_TSC2005) += tsc2005.o obj-$(CONFIG_TOUCHSCREEN_TSC2007) += tsc2007.o obj-$(CONFIG_TOUCHSCREEN_UCB1400) += ucb1400_ts.o obj-$(CONFIG_TOUCHSCREEN_WACOM_W8001) += wacom_w8001.o obj-$(CONFIG_TOUCHSCREEN_WM831X) += wm831x-ts.o obj-$(CONFIG_TOUCHSCREEN_WM97XX) += wm97xx-ts.o wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9705) += wm9705.o wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9712) += wm9712.o wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9713) += wm9713.o obj-$(CONFIG_TOUCHSCREEN_WM97XX_ATMEL) += atmel-wm97xx.o obj-$(CONFIG_TOUCHSCREEN_WM97XX_MAINSTONE) += mainstone-wm97xx.o obj-$(CONFIG_TOUCHSCREEN_WM97XX_ZYLONITE) += zylonite-wm97xx.o obj-$(CONFIG_TOUCHSCREEN_W90X900) += w90p910_ts.o obj-$(CONFIG_TOUCHSCREEN_TPS6507X) += tps6507x-ts.o obj-$(CONFIG_TOUCHSCREEN_SYNTM12XX) += syntm12xx.o obj-$(CONFIG_CYPRESS_CYTTSP5_BUS) += cyttsp5_bus.o obj-$(CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5) += cyttsp5_core.o ifdef CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5 obj-y += cyttsp5_platform.o endif obj-$(CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_I2C) += cyttsp5_i2c.o obj-$(CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_SPI) += cyttsp5_spi.o obj-$(CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_MT_A) += cyttsp5_mt_a.o cyttsp5_mt_a-y := cyttsp5_mta.o cyttsp5_mt_common.o obj-$(CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_MT_B) += cyttsp5_mt_b.o cyttsp5_mt_b-y := cyttsp5_mtb.o cyttsp5_mt_common.o obj-$(CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_BUTTON) += cyttsp5_btn.o obj-$(CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_PROXIMITY) += cyttsp5_proximity.o obj-$(CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_DEVICE_ACCESS) += cyttsp5_device_access.o obj-$(CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_LOADER) += cyttsp5_loader.o obj-$(CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_DEBUG_MODULE) += cyttsp5_debug.o obj-$(CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_DEVICETREE_SUPPORT) += cyttsp5_devtree.o ifeq ($(CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_DEBUG),y) CFLAGS_cyttsp5_bus.o += -DDEBUG CFLAGS_cyttsp5_core.o += -DDEBUG CFLAGS_cyttsp5_i2c.o += -DDEBUG CFLAGS_cyttsp5_spi.o += -DDEBUG CFLAGS_cyttsp5_mta.o += -DDEBUG CFLAGS_cyttsp5_mtb.o += -DDEBUG CFLAGS_cyttsp5_mt_a.o += -DDEBUG CFLAGS_cyttsp5_mt_b.o += -DDEBUG CFLAGS_cyttsp5_mt_common.o += -DDEBUG CFLAGS_cyttsp5_btn.o += -DDEBUG CFLAGS_cyttsp5_proximity.o += -DDEBUG CFLAGS_cyttsp5_device_access.o += -DDEBUG CFLAGS_cyttsp5_loader.o += -DDEBUG CFLAGS_cyttsp5_debug.o += -DDEBUG CFLAGS_cyttsp5_devtree.o += -DDEBUG CFLAGS_cyttsp5_platform.o += -DDEBUG endif ifeq ($(CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_VDEBUG),y) CFLAGS_cyttsp5_bus.o += -DVERBOSE_DEBUG CFLAGS_cyttsp5_core.o += -DVERBOSE_DEBUG CFLAGS_cyttsp5_i2c.o += -DVERBOSE_DEBUG CFLAGS_cyttsp5_spi.o += -DVERBOSE_DEBUG CFLAGS_cyttsp5_mta.o += -DVERBOSE_DEBUG CFLAGS_cyttsp5_mtb.o += -DVERBOSE_DEBUG CFLAGS_cyttsp5_mt_a.o += -DVERBOSE_DEBUG CFLAGS_cyttsp5_mt_b.o += -DVERBOSE_DEBUG CFLAGS_cyttsp5_mt_common.o += -DVERBOSE_DEBUG CFLAGS_cyttsp5_btn.o += -DVERBOSE_DEBUG CFLAGS_cyttsp5_proximity.o += -DVERBOSE_DEBUG CFLAGS_cyttsp5_device_access.o += -DVERBOSE_DEBUG CFLAGS_cyttsp5_loader.o += -DVERBOSE_DEBUG CFLAGS_cyttsp5_debug.o += -DVERBOSE_DEBUG CFLAGS_cyttsp5_devtree.o += -DVERBOSE_DEBUG CFLAGS_cyttsp5_platform.o += -DVERBOSE_DEBUG endif I dont know, how I can build this driver. Please help-me Thank you so much.