[SeaBIOS] [PATCH] build: allow setting tools path from the environment

Roger Pau Monne roger.pau at citrix.com
Tue Jan 23 16:34:16 CET 2018

Allow setting the path to as, ld, objcopy, objdump, strip and python
from the environment.

This is required for building SeaBIOS on FreeBSD, which will switch
the default ld to lld very soon, and lld is not capable of building
SeaBIOS at the moment.

Building SeaBIOS on FreeBSD after the switch to lld will require
setting LD=/path/to/gnu/ld at build time.

Signed-off-by: Roger Pau Monné <roger.pau at citrix.com>
Cc: Kevin O'Connor <kevin at koconnor.net>
Cc: Ed Maste <emaste at freebsd.org>
 Makefile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile
index eb8ad58..0fcb1bf 100644
--- a/Makefile
+++ b/Makefile
@@ -17,12 +17,12 @@ CROSS_PREFIX=
 ifneq ($(CROSS_PREFIX),)

More information about the SeaBIOS mailing list