Commit f6a86198 authored by Alessandro Rubini's avatar Alessandro Rubini

doc and Makefile: support spec-sw submodule, document it

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 4a111a42
......@@ -5,8 +5,8 @@
DIRS = kernel tools lib libtools
all clean modules install modules_install: gitmodules
for d in $(DIRS); do $(MAKE) -C $$d $@ || exit 1; done
@if echo $@ | grep -q install; then $(MAKE) prereq_install_warn; fi
for d in $(DIRS); do $(MAKE) -C $$d $@ || exit 1; done
all modules: prereq
......@@ -18,7 +18,8 @@ gitmodules:
# The user can override, using environment variables, all these three:
FMC_BUS ?= fmc-bus
ZIO ?= zio
SUBMOD = $(FMC_BUS) $(ZIO)
SPEC_SW ?= spec-sw
SUBMOD = $(FMC_BUS) $(ZIO) $(SPEC_SW)
prereq:
for d in $(SUBMOD); do $(MAKE) -C $$d || exit 1; done
......
......@@ -269,6 +269,12 @@ and each of them is retrieved at the right version to be compatible with this
driver. This means you may just ignore software dependencies and everything
should work.
In February 2014 we also added @i{spec-sw} as a submodule. While the
carrier driver (i.e. the @i{device} object in a Linux bus) should not
be needed to build the mezzanine driver (the @i{driver} in the bus),
we think it's easier for our users. Also, we need the header because
DMA operations are carrier-specific.
@c ==========================================================================
@node Software Installation
@section Software Installation
......@@ -330,7 +336,10 @@ environment variables (again, this is mostly for developers):
@table @code
@item ZIO
@item FMC_BUS
The top-level directory of the @i{fmc-bus}/@i{zio} repository checkout.
@item SPEC_SW
The top-level directory of the repository checkouts for the
pacakges. If unset, the top-level @t{Makefile} refers to the
submodules of this package.
@end table
......
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