packages: rename elftoolchain to toolchain, add more thingsRename the existing "elftoolchain" package to "toolchain", and moveeverything which is gated by MK_TOOLCHAIN (e.g. lex, yacc, ...) to the
packages: rename elftoolchain to toolchain, add more thingsRename the existing "elftoolchain" package to "toolchain", and moveeverything which is gated by MK_TOOLCHAIN (e.g. lex, yacc, ...) to thetoolchain package.This means we have one package called "toolchain" which contains all thedevelopment-related utilities which are not compilers or already part ofsome other package (e.g., llvm).Reviewed by: des, emasteApproved by: des (mentor)Differential Revision: https://reviews.freebsd.org/D50286
show more ...
elfcopy: Restore upstream nameELF Tool Chain's objcopy-equivalent is called elfcopy. Restore theupstream name in our build infrastructure to make it more clear wheredifferent binary utility comp
elfcopy: Restore upstream nameELF Tool Chain's objcopy-equivalent is called elfcopy. Restore theupstream name in our build infrastructure to make it more clear wheredifferent binary utility components come from.Reviewed by: brooksSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D49784
Rename usr.bin/elfcopy to usr.bin/objcopyWe always install ELF Tool Chain's elfcopy as objcopy, so to avoidconfusion rename the src directory containing our reach-over Makefileto match.Requeste
Rename usr.bin/elfcopy to usr.bin/objcopyWe always install ELF Tool Chain's elfcopy as objcopy, so to avoidconfusion rename the src directory containing our reach-over Makefileto match.Requested by: jhbSponsored by: The FreeBSD Foundation
DIRDEPS_BUILD: Update dependencies.Sponsored by: Dell EMC Isilon
Adopt SRCTOP in usr.binPrefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/fooover ${.CURDIR}/../foo for paths in Makefiles.Differential Revision: https://reviews.freebsd.org/D9
Adopt SRCTOP in usr.binPrefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/fooover ${.CURDIR}/../foo for paths in Makefiles.Differential Revision: https://reviews.freebsd.org/D9932Sponsored by: NetflixSilence on: arch@ (twice)
Retire WITHOUT_ELFCOPY_AS_OBJCOPY optionIn FreeBSD 11 ELF Tool Chain's elfcopy is installed as objcopy bydefault, with the option to switch back to GNU objcopy by settingWITHOUT_ELFCOPY_AS_OBJCOP
Retire WITHOUT_ELFCOPY_AS_OBJCOPY optionIn FreeBSD 11 ELF Tool Chain's elfcopy is installed as objcopy bydefault, with the option to switch back to GNU objcopy by settingWITHOUT_ELFCOPY_AS_OBJCOPY in make.conf.We plan to remove the outdated in-tree binutils in FreeBSD 12, soremove the temporary transition aid.Reviewed by: brooks, impRelnotes: YesSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D7337
Use the in-tree sys/elf_common.hThis is the same fix as r301471.
elftoolchain: Use ${SRCTOP} for the top of the FreeBSD treeIt's provided by sys.mk so there's no need to derive it from ${.CURDIR}.Suggested by: ngieSponsored by: The FreeBSD FoundationDifferen
elftoolchain: Use ${SRCTOP} for the top of the FreeBSD treeIt's provided by sys.mk so there's no need to derive it from ${.CURDIR}.Suggested by: ngieSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D5998
Replace ${CURDIR}/../.. with ${CURDIR:H:H} in elftoolchainThis produces a nicer path in debug info and build logs.MFC after: 1 weekSponsored by: The FreeBSD Foundation
DIRDEPS_BUILD: Update dependencies.Sponsored by: EMC / Isilon Storage Division
elfcopy: enable PE and EFI supportSponsored by: The FreeBSD Foundation
Allow ELF Tool Chain elfcopy to be installed as objcopyELF Tool Chain elfcopy is nearly a drop-in replacement for GNU objcopy,but does not currently support PE output which is needed for building
Allow ELF Tool Chain elfcopy to be installed as objcopyELF Tool Chain elfcopy is nearly a drop-in replacement for GNU objcopy,but does not currently support PE output which is needed for buildingx86 UEFI bits.Add a src.conf knob to allow installing it as objcopy and set it bydefault for aarch64 only, where we don't have a native binutils.Reviewed by: baptSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D2887
new depends
Pay attention to MK_ELFTOOLCHAIN_TOOLS so we build the desired tools.
Build infrastructure for elftoolchain toolsSet WITH_ELFTOOLCHAIN_TOOLS in src.conf to use the elftoolchain versionof the following tools: * addr2line * elfcopy (strip / mcs) * nm * size * st
Build infrastructure for elftoolchain toolsSet WITH_ELFTOOLCHAIN_TOOLS in src.conf to use the elftoolchain versionof the following tools: * addr2line * elfcopy (strip / mcs) * nm * size * stringsReviewed by: bapt (earlier version)Sponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D1224