mcctrl inital version (to be destroyed)

This commit is contained in:
Taku Shimosawa
2011-11-12 02:25:54 +09:00
parent 2773606466
commit d952688263
4 changed files with 158 additions and 0 deletions

22
linux/mod_mcctrl/Makefile Normal file
View File

@ -0,0 +1,22 @@
ifeq ($(K),"current")
KDIR=/lib/modules/`uname -r `/build
else
KDIR=../target
endif
obj-m += mcctrl.o
mcctrl-objs := driver.o control.o
AAL_BASE=$(src)/../../../aal
EXTRA_CFLAGS = -I$(AAL_BASE)/host/include -I$(AAL_BASE)/ikc/include -I$(src)/../include
.PHONY: clean install
modules:
$(MAKE) -C $(KDIR) M=$(PWD) modules
clean:
$(RM) .*.cmd *.mod.c *.o *.ko* Module.symvers modules.order -r .tmp*
install: