include $(PWD)/../Param.mk
include $(PWD)/../../version/$(VERSION_CFG).mk
TARGET = vvcam_csi

#obj-m +=$(TARGET).o
#
#$(TARGET)-objs += csi_ioctl.o
#$(TARGET)-objs += ./nwl/platform_nwl_csi_driver.o
#$(TARGET)-objs += vvcam_csi_driver.o

EXTRA_CFLAGS += -I$(PWD)/
EXTRA_CFLAGS += -I$(PWD)/nwl/

PWD :=$(shell pwd)

all:
	make   -C $(KERNEL) M=$(PWD)  modules
modules_install:
	make -C $(KERNEL_SRC) M=$(SRC) modules_install
clean:
	rm -rf $($(TARGET)-objs)
#	make -C $(KERNEL) M=`pwd` clean

