Commit 8e38e8d4 authored by Alessandro Rubini's avatar Alessandro Rubini

make prereq_install: obey user variables

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 786369ee
......@@ -10,12 +10,16 @@ all clean modules install modules_install: gitmodules
all modules: prereq
# The following targets are used to manage prerequisite repositories
#### The following targets are used to manage prerequisite repositories
gitmodules:
@test -d fmc-bus/doc || echo "Checking out submodules"
@test -d fmc-bus/doc || git submodule init && git submodule update
SUBMOD = fmc-bus spec-sw zio
# The user can override, using evn variables, all these three:
FMC_BUS ?= fmc-bus
SPEC_SW ?= spec-sw
ZIO ?= zio
SUBMOD = $(FMC_BUS) $(SPEC_SW) $(ZIO)
prereq:
for d in $(SUBMOD); do $(MAKE) -C $$d || exit 1; done
......
......@@ -495,11 +495,9 @@ environment variables:
@end table
If any of the above is set, headers and dependencies for the
respective package are taken from the chosen directory. If you follow
this customization path, you should not @code{make prereq_install}
(which doesn't obey the tree variables).
@c FIXME: make ``prereq_install'' obey the custom variables.
respective package are taken from the chosen directory. If you
@code{make prereq_install} with any of these variables set, they'll
be used to know where to install from.
@c ==========================================================================
@node Module Parameters
......@@ -568,7 +566,7 @@ framework:
change the gateware for all boards, you may just replace
the file in @file{/lib/firmware}. (Maybe I'll add an
option to change the name at load time for all boards).
@c FIXME: name for gateware file
@c FIXME: name for gateware file (the global one)
@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