svec: merge Kbuild into Makefile

parent ef7b95b2
EXTRA_CFLAGS += -I $(M)/../include -I $(M)/fmc-bus/kernel/include
KBUILD_EXTRA_SYMBOLS += $(M)/Module.symvers.vme
obj-m := svec.o
svec-objs := svec_drv.o
......@@ -5,8 +5,15 @@ VME_DIR := "../../repo/vmebridge/driver"
#VME_OBJDIR := "../../repo/vmebridge/driver/$(CPU)/$(KVER)"
VME_OBJDIR := "../../repo/vmebridge/driver/"
ccflags-y += -I $(M)/../include
ccflags-y += -I $(M)/fmc-bus/kernel/include
ccflags-y += -DDEBUG
KBUILD_EXTRA_SYMBOLS += $(M)/Module.symvers.vme
obj-m := svec.o
svec-objs := svec_drv.o
all: modules
$(MAKE) -C $(KERN_DIR) M=$(shell /bin/pwd)
.PHONY: all clean help
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment