[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 34/35] Auto-import Docker support files
From: |
Alex Bennée |
Subject: |
Re: [PATCH v6 34/35] Auto-import Docker support files |
Date: |
Tue, 12 Jan 2021 18:26:29 +0000 |
User-agent: |
mu4e 1.5.7; emacs 28.0.50 |
Alessandro Di Federico <ale@rev.ng> writes:
> On Tue, 12 Jan 2021 11:58:30 +0000
> Alex Bennée <alex.bennee@linaro.org> wrote:
>
>> > - for filename in args.extra_files or []:
>> > + extra_files = args.extra_files or []
>> > + extra_files += glob(basename + ".*")
>> > + for filename in extra_files:
>>
>> Hmm not so sure about this magic. What's wrong with the existing
>> --extra-files mechanism?
>
> I'd be OK with using that, but how can I automate it?
>
> It is my understanding that `--extra-files` is only set by through the
> EXTRA_FILES environment variable. Therefore the user should do
> something like this:
>
> make check-tcg \
> DOCKER_IMAGE=debian-hexagon-cross \
> DOCKER_CROSS_CC_GUEST=hexagon-unknown-linux-musl-clang \
> EXTRA_FILES="..."
I'm confused - extra-files is while building the docker image, not
running it.
>
> Or am I missing some part of how this works?
Add an explicit rule in Makefile.include:
docker-image-debian-hexagon-cross: EXTRA_FILES=foo.bar
--
Alex Bennée
- [PATCH v6 25/35] Hexagon (target/hexagon) instruction classes, (continued)
- [PATCH v6 25/35] Hexagon (target/hexagon) instruction classes, Taylor Simpson, 2021/01/07
- [PATCH v6 32/35] Hexagon build infrastructure, Taylor Simpson, 2021/01/07
- [PATCH v6 29/35] Hexagon (target/hexagon) translation, Taylor Simpson, 2021/01/07
- [PATCH v6 33/35] Add Dockerfile for hexagon, Taylor Simpson, 2021/01/07
- [PATCH v6 31/35] Hexagon (tests/tcg/hexagon) TCG tests, Taylor Simpson, 2021/01/07
- [PATCH v6 34/35] Auto-import Docker support files, Taylor Simpson, 2021/01/07
[PATCH v6 35/35] Add newline when generating Dockerfile, Taylor Simpson, 2021/01/07
Re: [PATCH v6 00/35] Hexagon patch series, no-reply, 2021/01/08
Re: [PATCH v6 00/35] Hexagon patch series, Alex Bennée, 2021/01/12