diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-03-20 18:25:50 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-03-20 18:25:50 +0000 |
commit | bd42830f0f184a31924e8df802724d1974ddb278 (patch) | |
tree | 203191190a1d45e1fe5ab202024032a4bae4048d /Makefile.inc1 | |
parent | 51dbee9db1ff9435f7fd2629c6705440eb1afe0a (diff) | |
download | src-test-bd42830f0f184a31924e8df802724d1974ddb278.tar.gz src-test-bd42830f0f184a31924e8df802724d1974ddb278.zip |
Make lint(1) a cross-tool.
(See commit log for usr.bin/xlint/Makefile,v 1.11 for what was wrong
with enabling build of lint libraries in rev. 1.12.)
This fixes cross-arch compiles (running binaries for a different arch
when generating lint.7 and lint libraries) and cross-branch compiles
(4.x -> 5.0 buildworld should be working again).
Notes
Notes:
svn path=/head/; revision=92813
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index b05eddb6a3e68..6ba1b12ce4d28 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -615,9 +615,11 @@ _elf2exe= usr.sbin/elf2exe _btxld= usr.sbin/btxld .endif +_xlint= usr.bin/xlint/lint1 usr.bin/xlint/lint2 usr.bin/xlint/xlint + cross-tools: .for _tool in ${_btxld} ${_elf2exe} \ - gnu/usr.bin/binutils usr.bin/objformat gnu/usr.bin/cc + gnu/usr.bin/binutils usr.bin/objformat gnu/usr.bin/cc ${_xlint} cd ${.CURDIR}/${_tool}; \ ${MAKE} obj; \ ${MAKE} depend; \ |