make -j4 ?

Stefan Reinauer stepan at openbios.org
Thu Nov 4 18:27:01 CET 2004


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:


------------------------------ 8< -----------------------------

all: fallback-rom normal-rom buildroms

fallback-rom:
        if (cd fallback; \
                make linuxbios.rom)\
        then true; else exit 1; fi;

normal-rom:
        if (cd normal; \
                make linuxbios.rom)\
        then true; else exit 1; fi;

buildroms:
        cat normal/linuxbios.rom fallback/linuxbios.rom > ./amd_quartet.rom


------------------------------ 8< -----------------------------

should look like:

all: buildroms
[..]
buildroms: fallback-rom normal-rom

Otherwise make assumes it can build all three of 
fallback-rom, normal-rom and buildroms in parallel

Stefan





More information about the coreboot mailing list