Commit ba2e864a authored by Tomasz Wlostowski's avatar Tomasz Wlostowski Committed by Federico Vaga

Included dependencies (zio/fmc-bus/spec-sw) as submodules

parent 58559a93
......@@ -4,3 +4,6 @@
[submodule "fmc-bus"]
path = fmc-bus
url = git://ohwr.org/fmc-projects/fmc-bus.git
[submodule "spec-sw"]
path = spec-sw
url = git://ohwr.org/fmc-projects/spec/spec-sw.git
fmc-bus @ 05fabf80
Subproject commit 05fabf80f2f539c591336266ece33cf530eae4ad
# This is not a kbuild Makefile. It is a plain Makefile so it can be copied
#ZIO := $(shell ../scripts/check-submodule zio $(ZIO))
ZIO ?= ../zio
LIB = libfmctdc.a
LOBJ := fmctdc-lib.o
CFLAGS = -Wall -ggdb -O2 -I../kernel -I../zio/include
CFLAGS = -Wall -ggdb -O2 -I../kernel -I$(ZIO)/include
DESTDIR ?= /usr/local
all: lib
modules all: lib
lib: $(LIB)
......@@ -21,7 +26,14 @@ clean:
.depend: Makefile $(wildcard *.c *.h ../*.h)
$(CC) $(CFLAGS) -M $(LOBJ:.o=.c) -o $@
install modules_install:
install:
install -d $(DESTDIR)/lib
install -d $(DESTDIR)/include/fmc-tdc
install -m 644 -D $(LIB) $(DESTDIR)/lib
install -m 644 -D fmctdc-lib.h $(DESTDIR)/include/fmc-tdc
modules_install:
-include .depend
spec-sw @ c8c33161
Subproject commit c8c33161e210b10bc8eb74d0bda8766a60d58992
zio @ 765481c3
Subproject commit 765481c3ca85c7f01b770da1344ac092c931264f
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