Initial commit of ADS7924 driver
Change-Id: If74b8c4f6bbc0aec67e2dca6c0162c3d15e08ae8
diff --git a/qcom-adc/Makefile b/qcom-adc/Makefile
new file mode 100644
index 0000000..05094c8
--- /dev/null
+++ b/qcom-adc/Makefile
@@ -0,0 +1,20 @@
+# Makefile for ADS7924 ADC
+
+ROOT ?= $(abspath ../../..)
+include $(ROOT)/Makefile.config
+
+unexport CC CPP LD CFLAGS CPPFLAGS LDFLAGS AR RANLIB
+
+default: install
+
+all:
+ $(MAKE) -C $(CPKERN) M=$(CURDIR) -Wall
+
+install: all
+ $(MAKE) -C $(CPKERN) M=$(CURDIR) INSTALL_MOD_PATH=$(ROOT)/$(IMGDIR)/rootfs ARCH=$(ARCH) modules_install
+
+clean:
+ $(MAKE) -C $(CPKERN) M=$(CURDIR) clean
+
+tags:
+ ctags -R . $(CPKERN)