From 8e4bff4cab0ddac6060645b0715210484d02ff40 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Wed, 30 Aug 2017 08:25:59 +0000 Subject: Initial file dump from open source release --- drivers/misc/gpsip/VirtualCom/Makefile | 53 ++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 drivers/misc/gpsip/VirtualCom/Makefile (limited to 'drivers/misc/gpsip/VirtualCom/Makefile') diff --git a/drivers/misc/gpsip/VirtualCom/Makefile b/drivers/misc/gpsip/VirtualCom/Makefile new file mode 100644 index 00000000..578b7b23 --- /dev/null +++ b/drivers/misc/gpsip/VirtualCom/Makefile @@ -0,0 +1,53 @@ +############################################################################### +# LEGAL NOTICE # +# # +# USE OF THIS SOFTWARE (including any copy or compiled version thereof) AND # +# DOCUMENTATION IS SUBJECT TO THE SOFTWARE LICENSE AND RESTRICTIONS AND THE # +# WARRANTY DISLCAIMER SET FORTH IN LEGAL_NOTICE.TXT FILE. IF YOU DO NOT # +# FULLY ACCEPT THE TERMS, YOU MAY NOT INSTALL OR OTHERWISE USE THE SOFTWARE # +# OR DOCUMENTATION. # +# NOTWITHSTANDING ANYTHING TO THE CONTRARY IN THIS NOTICE, INSTALLING OR # +# OTHERISE USING THE SOFTWARE OR DOCUMENTATION INDICATES YOUR ACCEPTANCE OF # +# THE LICENSE TERMS AS STATED. # +# # +############################################################################### +# Version: 1.8.9/3686 +# Build : 13 +# Date : 12/08/2012 + + +ANDROID_NDK_ROOT := $(ROOT)/android/ndk +ANDROID_SDK_ROOT := $(ROOT)/android/sdk +PATH := $(PREBUILD)/bin:$(PATH) + +obj-$(CONFIG_CGX_VIRTUALCOM) := cgvuart.o + +# C Object Files: +cgvuart-c-objs += virt_uart.o +cgvuart-objs += $(cgvuart-c-objs) + +# EXTRA_CFLAGS += -I$(PWD) + + +ifeq ($(KERNELRELEASE),) +# on first call from remote location we get into this path +# whilst on second call all is managed by the embedding kernel makefile + +cgvuart-cfiles = ${cgvuart-c-objs:.o=.c} + +default:: kmod_build + +kmod_build:: $(cgvuart-cfiles) $(cgvuart-hdrs) + $(MAKE) -C $(CG_KERNEL_DIR) SUBDIRS=$(CURDIR) modules + +# distclean:: clean + +clean:: + rm -f *.o *.ko .*.cmd cgvuart.mod.c + rm -rf .tmp_versions + +tags:: + $(MAKE) -C $(CG_KERNEL_DIR) SUBDIRS=$(CURDIR) tags +endif + +# ### EOF ### -- cgit v1.3.1