From: Denis Chertykov <chertykov@gmail.com>
To: Georg-Johann Lay <avr@gjlay.de>
Cc: gcc-patches <gcc-patches@gcc.gnu.org>,
Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>,
Pitchumani Sivanupandi <pitchumani.sivanupandi@microchip.com>
Subject: Re: [patch,avr] Simplify genmultilib.awk
Date: Mon, 22 May 2017 11:50:00 -0000 [thread overview]
Message-ID: <CADOs=zYpQJ2N6erG8KZn8y1RtCOgQn0SLBKa0ecsPQXY2T2k=Q@mail.gmail.com> (raw)
In-Reply-To: <f5960d0e-a68f-6c56-4c76-27430c25fa16@gjlay.de>
2017-05-22 15:37 GMT+04:00 Georg-Johann Lay <avr@gjlay.de>:
> This patch simplifies genmultilib.awk so that it generates
> MULTILIB_REQUIRED instead of the complement, MULTILIB_EXCEPTIONS.
>
> The current awk script dates back to the days when we mapped
> all the > 200 devices to the mmcu core and also parts of
> --help=target to list all devices were generated from avr-mmcus.
> That code rot is also cleaned up. Moreover, the structure now allows
> for simpler addition of new multilib options which are likely to come
> in the near future.
>
> The result of -print-multi-lib is:
>
> .;
> avr25;@mmcu=avr25
> avr3;@mmcu=avr3
> avr31;@mmcu=avr31
> avr35;@mmcu=avr35
> avr4;@mmcu=avr4
> avr5;@mmcu=avr5
> avr51;@mmcu=avr51
> avr6;@mmcu=avr6
> avrxmega2;@mmcu=avrxmega2
> avrxmega4;@mmcu=avrxmega4
> avrxmega5;@mmcu=avrxmega5
> avrxmega6;@mmcu=avrxmega6
> avrxmega7;@mmcu=avrxmega7
> avrtiny;@mmcu=avrtiny
> tiny-stack;@msp8
> avr25/tiny-stack;@mmcu=avr25@msp8
>
> hence unchanged.
>
> Ok for trunk?
>
> Johann
>
>
> * config/avr/t-avr (AWK) [t-multilib]: Remove "-v FORMAT=Makefile"
> command option from $(AWK) call.
> * config/avr/genmultilib.awk: Simplify and rewrite so that it
> generates MULTILIB_REQUIRED instead of MULTILIB_EXCEPTIONS.
> [FORMAT]: Remove handling of variable.
> * config/avr/t-multilib: Regenerate.
Approved.
Please commit.
next prev parent reply other threads:[~2017-05-22 11:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-22 11:48 Georg-Johann Lay
2017-05-22 11:50 ` Denis Chertykov [this message]
2017-05-23 8:25 ` Georg-Johann Lay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADOs=zYpQJ2N6erG8KZn8y1RtCOgQn0SLBKa0ecsPQXY2T2k=Q@mail.gmail.com' \
--to=chertykov@gmail.com \
--cc=avr@gjlay.de \
--cc=gcc-patches@gcc.gnu.org \
--cc=pitchumani.sivanupandi@microchip.com \
--cc=senthilkumar.selvaraj@microchip.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).