svec: add a toplevel Makefile

parent 382d173a
LINUX ?= /acc/sys/L865/usr/src/kernels/2.6.24.7-rt27/
DIRS = kernel tools
ccflags-y += -I /acc/src/dsc/drivers/coht/vmebridge/include/ -DDEBUG
obj-m += svec.o
all: modules
modules:
$(MAKE) -C $(LINUX) M=$(shell /bin/pwd)
modules_install:
$(MAKE) -C $(LINUX) M=$(shell /bin/pwd) $@
clean:
rm -rf *.o *.ko *.mod.c
rm -rf .*.o.cmd .*.ko.cmd *.mod.c
rm -rf .tmp_versions modules.order
all clean modules install modules_install:
for d in $(DIRS); do $(MAKE) -C $$d $@ || exit 1; done
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