mirror of
https://github.com/opnsense/src.git
synced 2026-02-13 15:57:05 -05:00
make(1) wants to build loader.sym *before* the .o files. Eliminating
one seeminly intermediate step avoids the problem. Somehow, it seems
that variables are not getting expanded at the right time.
Any explanations would be appreciated...
Changing:
${BASE}.sym: ${OBJS} ${LIBSTAND} ${LIBFICL} ${LIBALPHA} ${CRT} vers.o
${LD} ...
To:
BASEOBJS= ${OBJS} ${LIBSTAND} ${LIBFICL} ${LIBALPHA} ${CRT} vers.o
${BASE}.sym: ${BASEOBJS}
echo ${BASEOBJS}
${LD} ...
.. the echo only shows LIBFICL, CRT and vers.o. ${OBJS} is not included.
|
||
|---|---|---|
| .. | ||
| boot1 | ||
| cdboot | ||
| common | ||
| libalpha | ||
| loader | ||
| netboot | ||
| Makefile | ||
| Makefile.inc | ||