This gets us a step closer to building without binutils as we have an nm implementation from ELF Tool Chain.
Details
Details
- Reviewers
imp bdrewery - Commits
- rS296769: boot/efi: Prefer nm to objdump
- apply patch, verify buildworld passes
- add a call to a dummy undef function, verify buildworld fails
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
sh -c 'set -e; true | false && exit 2;'; echo $?
when the && fails it still exits with an error
putting it in a if line fixes that
if ${NM} ${.ALLSRC} | grep ' U'; then exit 1; fi