summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorMichael Brown2009-03-31 10:36:08 +0200
committerMichael Brown2009-03-31 10:36:08 +0200
commit3dd7ce1c26cac856039e1151720481c6ab1b43d1 (patch)
tree762e0dfda2f52e972b4f2331dc854c07633821a7 /src/Makefile
parent[efi] Fix compilation on Mac OS X. (diff)
downloadipxe-3dd7ce1c26cac856039e1151720481c6ab1b43d1.tar.gz
ipxe-3dd7ce1c26cac856039e1151720481c6ab1b43d1.tar.xz
ipxe-3dd7ce1c26cac856039e1151720481c6ab1b43d1.zip
[efi] Allow building with non-system libbfd
On Mac OS X, it is necessary to build binutils manually; the system does not provide bfd.h or the libbfd or libiberty libraries. Originally-fixed-by: Joshua Oreman <oremanj@rwcr.net>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 1693b4ac..099762ce 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -42,6 +42,8 @@ ELF2EFI64 := ./util/elf2efi64
EFIROM := ./util/efirom
ICCFIX := ./util/iccfix
DOXYGEN := doxygen
+BINUTILS_DIR := /usr
+BFD_DIR := $(BINUTILS_DIR)
###############################################################################
#