tech-toolchain archive

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

Re: .debug objects build rule need some care



On Tue, Jul 20, 2010 at 06:01:38PM +0200, Nicolas Joly wrote:
  | Yep. In then mean time, i can amend my original patch to avoid the
  | hackish touch command; and use the `--preserve-dates' option to the
  | second objcopy call.
  | 
  | .if defined(_PROGDEBUG.${_P})
  | ${_PROGDEBUG.${_P}}: ${_P}
  |         ${_MKTARGET_CREATE}
  |         ${OBJCOPY} --only-keep-debug ${_P} ${_PROGDEBUG.${_P}}
  |         ${OBJCOPY} --preserve-dates --strip-debug \
  |             -R .gnu_debuglink --add-gnu-debuglink=${_PROGDEBUG.${_P}} ${_P}
  | .endif
  | 
  | But this only solve the timestamp ordering issue.

I've committed a minor variation of your fix to bsd.lib.mk and
bsd.prog.mk.

Does that fix the issue for you?


cheers,
Luke.

Attachment: pgplbaFtrAOFb.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index