Commit 4421e0fd authored by Alessandro Rubini's avatar Alessandro Rubini

Makefiles: refer the new submodule to build it too

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 98a3b15b
DIRS = kernel tools doc
DIRS = fmc-bus/kernel kernel tools doc
all clean modules install modules_install:
for d in $(DIRS); do $(MAKE) -C $$d $@ || exit 1; done
LINUX ?= /lib/modules/$(shell uname -r)/build
ccflags-y += -I$M/include
KBUILD_EXTRA_SYMBOLS := $M/../fmc-bus/kernel/Module.symvers
ccflags-y += -I$M/include -I$M/../fmc-bus/kernel/include
ccflags-y += $(WR_NIC_CFLAGS)
obj-m = fmc.o
obj-m += spec.o
obj-m += fmc-trivial.o
obj-m += fmc-write-eeprom.o
obj-m += wr-nic.o
fmc-y = fmc-core.o
fmc-y += fmc-sdb.o
spec-y = spec-pci.o
spec-y += spec-fmc.o
spec-y += spec-i2c.o
......
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