[PATCH] defaults.mc: Remove any checks for objdump and objcopy

Joel Sherrill joel at rtems.org
Wed Jun 30 14:31:26 UTC 2021


On Wed, Jun 30, 2021 at 3:28 AM <chrisj at rtems.org> wrote:
>
> From: Chris Johns <chrisj at rtems.org>
>
> - FreeBSD is removing any dependence on binutils and release 13
>   has remove objdump. This is fine as we build our own version.

removed. :)

> ---
>  source-builder/defaults.mc | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/source-builder/defaults.mc b/source-builder/defaults.mc
> index 8ed7003..98775e8 100644
> --- a/source-builder/defaults.mc
> +++ b/source-builder/defaults.mc
> @@ -184,13 +184,12 @@ __mkdir:             exe,     required, '/bin/mkdir'
>  __mkdir_p:           exe,     none,     '/bin/mkdir -p'
>  __mv:                exe,     required, '/bin/mv'
>  __nm:                exe,     required, '/usr/bin/nm'
> -__objcopy:           exe,     optional, '/usr/bin/objcopy'
> -__objdump:           exe,     optional, '/usr/bin/objdump'
> +__objcopy:           exe,     none,     '/usr/bin/objcopy'
> +__objdump:           exe,     none,     '/usr/bin/objdump'

Looks like you are also removing objcopy.

Why would we have ever needed the native versions of either?

And what's the alternative on FreeBSD if someone did need that
functionality?

>  __patch_bin:         exe,     required, '/usr/bin/patch'
>  __patch_opts:        none,    none,     '%{nil}'
>  __patch:             exe,     none,     '%{__patch_bin} %{__patch_opts}'
>  __perl:              exe,     optional, 'perl'
> -__svn:               exe,     optional, '/usr/bin/svn'
>  __ranlib:            exe,     required, 'ranlib'
>  __rm:                exe,     required, '/bin/rm'
>  __rmfile:            exe,     none,     '%{__rm} -f'
> --
> 2.31.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list