mcctrl inital version (to be destroyed)
This commit is contained in:
22
linux/mod_mcctrl/Makefile
Normal file
22
linux/mod_mcctrl/Makefile
Normal 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:
|
||||
Reference in New Issue
Block a user