Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/evbarm/conf



> Module Name:  src
> Committed By: matt
> Date:         Wed Jul 10 20:25:21 UTC 2013
>
> Modified Files:
>       src/sys/arch/evbarm/conf: Makefile.evbarm.inc
>
> Log Message:
> If using mdsetimage to install a ramdisk install, add the
> ramdisk to SYSTEM_DEP so the kernel will be relinked and the
> new ramdisk installed.
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.24 -r1.25 src/sys/arch/evbarm/conf/Makefile.evbarm.inc

With this change, SYSTEM_DEP ends up not including any object
files for the evbarm kernels, causing build failure due to
missing files when we get to the "link the kernel" step.

The reason is that sys/conf/Makefile.kern.inc has:

SYSTEM_DEP?=    Makefile ${SYSTEM_OBJ:O} .gdbinit

So if SYSTEM_DEP is already assinged (it is by this change at
this point), SYSTEM_OBJ will not be added to SYSTEM_DEP.

Now, I don't quite understand why that SYSTEM_DEP?= should not be
SYSTEM_DEP+= instead...

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index