pkgbase: Create a FreeBSD-elftoolchain package

It contain all the binaries and libs from the elftoolchain contrib
project except for libelf which is used everywhere.
All of those tools are never used by the average user.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
Differential Revision:	https://reviews.freebsd.org/D38224
This commit is contained in:
Emmanuel Vadot 2023-01-27 15:26:06 +01:00
parent f0408cd92f
commit 1af3908ce6
8 changed files with 14 additions and 1 deletions

View File

@ -1,7 +1,6 @@
# $FreeBSD$ # $FreeBSD$
.include <bsd.own.mk> .include <bsd.own.mk>
PACKAGE=lib${LIB}
INTERNALLIB= INTERNALLIB=
ELFTCDIR= ${SRCTOP}/contrib/elftoolchain ELFTCDIR= ${SRCTOP}/contrib/elftoolchain

View File

@ -54,6 +54,8 @@ ee_COMMENT= Easy Editor Utilities
ee_DESC= Easy Editor Utilities ee_DESC= Easy Editor Utilities
efi-tools_COMMENT= UEFI Utilities efi-tools_COMMENT= UEFI Utilities
efi-tools_DESC= UEFI Utilities efi-tools_DESC= UEFI Utilities
elftoolchain_COMMENT= ElfToolchain programs and libraries
elftoolchain_DESC= ElfToolchain programs and libraries
fetch_COMMENT= Fetch Utility fetch_COMMENT= Fetch Utility
fetch_DESC= Fetch Utility fetch_DESC= Fetch Utility
ftp_COMMENT= FTP Utilities ftp_COMMENT= FTP Utilities

View File

@ -2,6 +2,8 @@
.include <src.opts.mk> .include <src.opts.mk>
PACKAGE= elftoolchain
ELFTCDIR= ${SRCTOP}/contrib/elftoolchain ELFTCDIR= ${SRCTOP}/contrib/elftoolchain
ADDR2LINEDIR= ${ELFTCDIR}/addr2line ADDR2LINEDIR= ${ELFTCDIR}/addr2line

View File

@ -2,6 +2,8 @@
.include <src.opts.mk> .include <src.opts.mk>
PACKAGE= elftoolchain
ELFTCDIR= ${SRCTOP}/contrib/elftoolchain ELFTCDIR= ${SRCTOP}/contrib/elftoolchain
SRCDIR= ${ELFTCDIR}/cxxfilt SRCDIR= ${ELFTCDIR}/cxxfilt

View File

@ -2,6 +2,8 @@
.include <src.opts.mk> .include <src.opts.mk>
PACKAGE= elftoolchain
ELFTCDIR= ${SRCTOP}/contrib/elftoolchain ELFTCDIR= ${SRCTOP}/contrib/elftoolchain
NMDIR= ${ELFTCDIR}/nm NMDIR= ${ELFTCDIR}/nm

View File

@ -2,6 +2,8 @@
.include <src.opts.mk> .include <src.opts.mk>
PACKAGE= elftoolchain
ELFTCDIR= ${SRCTOP}/contrib/elftoolchain ELFTCDIR= ${SRCTOP}/contrib/elftoolchain
ELFCOPYDIR= ${ELFTCDIR}/elfcopy ELFCOPYDIR= ${ELFTCDIR}/elfcopy

View File

@ -2,6 +2,8 @@
.include <src.opts.mk> .include <src.opts.mk>
PACKAGE= elftoolchain
ELFTCDIR= ${SRCTOP}/contrib/elftoolchain ELFTCDIR= ${SRCTOP}/contrib/elftoolchain
READELFDIR= ${ELFTCDIR}/readelf READELFDIR= ${ELFTCDIR}/readelf

View File

@ -2,6 +2,8 @@
.include <src.opts.mk> .include <src.opts.mk>
PACKAGE= elftoolchain
ELFTCDIR= ${SRCTOP}/contrib/elftoolchain ELFTCDIR= ${SRCTOP}/contrib/elftoolchain
SIZEDIR= ${ELFTCDIR}/size SIZEDIR= ${ELFTCDIR}/size