From 871480933a1c28f8a9fed4c4d34d06c439a7a422 Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Sun, 11 Jan 2015 12:28:04 +0530 Subject: Moved, renamed, and deleted files The original directory structure was scattered and unorganized. Changes are basically to make it look like kernel structure. --- drivers/input/touchscreen/gsl1680_ts/Makefile | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 drivers/input/touchscreen/gsl1680_ts/Makefile (limited to 'drivers/input/touchscreen/gsl1680_ts/Makefile') diff --git a/drivers/input/touchscreen/gsl1680_ts/Makefile b/drivers/input/touchscreen/gsl1680_ts/Makefile new file mode 100755 index 00000000..372a0fce --- /dev/null +++ b/drivers/input/touchscreen/gsl1680_ts/Makefile @@ -0,0 +1,33 @@ +#KERNELDIR=/home/hangyan/android8850/kernel/ANDROID_3.0.8 +KERNELDIR=../../../../ +CROSS = arm_1103_le- +CC= $(CROSS)gcc +LD= $(CROSS)ld +STRIP = $(CROSS)strip + +DEBUG = n + +# Add your debugging flag (or not) to EXTRA_CFLAGS +ifeq ($(DEBUG),y) +# DEBFLAGS = -O -g -DSCULL_DEBUG # "-O" is needed to expand inlines +DEBFLAGS = -O0 -g -DSCULL_DEBUG # "-O" is needed to expand inlines + +else + DEBFLAGS = -O2 -Wall +endif + +EXTRA_CFLAGS += $(DEBFLAGS) + + +MY_MODULE_NAME=s_wmt_ts_gsl1680 + +obj-m := $(MY_MODULE_NAME).o +$(MY_MODULE_NAME)-objs := gslX680.o wmt_ts.o gsl_point_id.b + +default: + $(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) modules + $(STRIP) --strip-debug $(MY_MODULE_NAME).ko + rm -rf *.o *~ core .depend .*.cmd *.mod.c .tmp_versions *.order *.symvers + +clean: + rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions *.order *.symvers -- cgit