make -j4 ?
Eric W. Biederman
ebiederman at lnxi.com
Fri Nov 5 01:56:01 CET 2004
Stefan Reinauer <stepan at openbios.org> writes:
> Hi,
>
> just noticed on my way to bed..
>
> it seems make -j does work fine for the single linuxbios images
> (fallback / normal) but not for the concatenated final one because of
> a wrong dependency:
> Otherwise make assumes it can build all three of
> fallback-rom, normal-rom and buildroms in parallel
I have just taken a first stab at this and my current Makefile is below.
There is still some missing dependency information but otherwise things should be
correct. What I have not massaged is left as an exercise to the reader :)
Now to see if I can get abuild building ppc targets.
# File: tdir/hdama/Makefile is autogenerated
Makefile: /home/eric/projects/linuxbios/linuxbios/hdama/tdir/hdama/config.py /home/eric/projects/linuxbios/linuxbios/hdama/Config.lb
(cd /home/eric/projects/linuxbios/linuxbios/hdama ; /home/eric/projects/linuxbios/linuxbios/hdama/tdir/hdama/config.py ./Config.lb ./freebios2)
include Makefile.settings
all: ./linuxbios.rom
fallback/linuxbios.rom:
if (cd fallback; \
make linuxbios.rom)\
then true; else exit 1; fi;
normal/linuxbios.rom:
if (cd normal; \
make linuxbios.rom)\
then true; else exit 1; fi;
clean: fallback-clean normal-clean
fallback-clean:
(cd fallback; make clean)
normal-clean:
(cd normal; make clean)
./linuxbios.rom: normal/linuxbios.rom fallback/linuxbios.rom
cat normal/linuxbios.rom fallback/linuxbios.rom > ./linuxbios.rom
.PHONY: all clean fallback-clean normal-clean
More information about the coreboot
mailing list