

PWD=$(shell pwd)
TARGET_DIR := $(BUILD_TOPDIR)/output/staging
KERNEL_SRC=$(BUILD_TOPDIR)/kernel/linux
EXTRA_CFLAGS += -I$(BUILD_TOPDIR)/kernel/modules/a1_camera


PHONY: all
all: modules 

PHONY: modules
modules: install

PHONY: install
install:
	@cp *.ko  $(TARGET_DIR)/lib/modules

PHONY: 
clean:
	@rm -f *.o Module.symvers  modules.order *.mod* .*.o.cmd .*.ko.cmd 
	@rm -rf .tmp_versions
