Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153087736
D49493.id152642.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D49493.id152642.diff
View Options
Index: Makefile.inc1
===================================================================
--- Makefile.inc1
+++ Makefile.inc1
@@ -2909,29 +2909,23 @@
cddl/usr.bin/ctfmerge
.endif
-# If we're given an XAS, don't build binutils.
-.if ${XAS:M/*} == ""
.if ${MK_ELFTOOLCHAIN_BOOTSTRAP} != "no"
+# EFI binaries require ELF Tool Chain's elfcopy (llvm-objcopy is not capable
+# of translating ELF to PE32+).
_elftctools= lib/libelftc \
lib/libpe \
usr.bin/elfctl \
usr.bin/elfdump \
- usr.bin/objcopy \
- usr.bin/nm \
+ usr.bin/objcopy
+# If we're given an XAS, don't build binutils.
+.if ${XAS:M/*} == ""
+_elftctools+= usr.bin/nm \
usr.bin/size \
usr.bin/strings
# These are not required by the build, but can be useful for developers who
# cross-build on a FreeBSD 10 host:
_elftctools+= usr.bin/addr2line
.endif
-.elif ${TARGET_ARCH} != ${MACHINE_ARCH} && ${MK_ELFTOOLCHAIN_BOOTSTRAP} != "no"
-# If cross-building with an external binutils we still need to build strip for
-# the target (for at least crunchide).
-_elftctools= lib/libelftc \
- lib/libpe \
- usr.bin/elfctl \
- usr.bin/elfdump \
- usr.bin/objcopy
.endif
.if ${MK_CLANG_BOOTSTRAP} != "no"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 20, 1:35 AM (5 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31814353
Default Alt Text
D49493.id152642.diff (1 KB)
Attached To
Mode
D49493: Makefile.inc1: Rework ELF Tool Chain bootstrapping
Attached
Detach File
Event Timeline
Log In to Comment