For whatever reason most of the files had their permission changed from 644 to 755, which is not wanted.
24 lines
638 B
Makefile
24 lines
638 B
Makefile
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
|
|
|
|
ccflags-y= $(CFLAGS) $(EXTRA_CFLAGS)
|
|
CFLAGS=
|
|
|
|
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
|
|
|