[OE-core] [PATCH] eglibc-initial: Fix kernel headers symlink being wrong

McClintock Matthew-B29882 B29882 at freescale.com
Tue Nov 29 20:04:36 UTC 2011


On Tue, Nov 29, 2011 at 1:49 PM, Khem Raj <raj.khem at gmail.com> wrote:
>>        # add links to linux-libc-headers: gcc-{cross,crossdk}-intermediate need this.
>>        for t in linux asm asm-generic; do
>> -               ln -s ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/
>> +               cp -ar ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/
>
> thinking a bit more I think just doing ln -sf might be another option
> instead of doing ln -s
> will avoid copying.

Richard's new approach was sort of more along the lines of what I was
thinking. It's essentially fixing the symlinks after we deploy from
sstate-cache. I don't think (correct me if I'm wrong) this step above
will get run when deploying from sstate-cache.

-M




More information about the Openembedded-core mailing list