

PWD=$(shell pwd)

TARGET_DIR := $(BUILD_TOPDIR)/output/staging
#TARGET_DIR := /home/Betta.Lin/work/svn/acti_a1/root_fs/fakeroot
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
