git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7117 818b1a75-f10b-46b9-bf7c-635c3b92a50f
21 lines
591 B
Makefile
Executable File
21 lines
591 B
Makefile
Executable File
CCC = gcc
|
|
include $(OPENAIR_DIR)/common/utils/Makefile.inc
|
|
KERNEL_MAIN_TYPE=$(shell echo `uname -r | cut -d. -f-2 | tr "." "_"`)
|
|
export KERNEL_MAIN_TYPE
|
|
|
|
EXTRA_CFLAGS = -ggdb -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -I$(KERNEL_DIR)/build/include -I$(KERNEL_DIR)/build/include/asm/mach-default -include $(KERNEL_DIR)/build/include/linux/autoconf.h
|
|
|
|
EXTRA_CFLAGS += -I$(PWD)/../../DEFS
|
|
|
|
obj-m += openair_rf.o
|
|
|
|
openair_rf-objs += module_main.o irq.o fileops.o exmimo_fw.o
|
|
|
|
all:
|
|
make -C $(KERNEL_DIR)/build M=$(PWD) modules
|
|
|
|
clean:
|
|
rm -rf *.o
|
|
make -C $(KERNEL_DIR)/build M=$(PWD) clean
|
|
|