[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] target/xtensa: fix core import to meson.build
From: |
Max Filippov |
Subject: |
Re: [PATCH] target/xtensa: fix core import to meson.build |
Date: |
Tue, 30 Mar 2021 16:17:01 -0700 |
On Tue, Mar 30, 2021 at 1:32 PM Richard Henderson
<richard.henderson@linaro.org> wrote:
> On 3/30/21 1:30 AM, Max Filippov wrote:
> > -grep -q core-${NAME}.o "$BASE"/Makefile.objs || \
> > - echo "obj-y += core-${NAME}.o" >> "$BASE"/Makefile.objs
> > +grep -q core-${NAME}.c "$BASE"/meson.build || \
> > + echo "xtensa_ss.add(files('core-${NAME}.c'))" >> "$BASE"/meson.build
>
> We should be able to do this directly in meson.build, without having to modify
> the source file at all.
Are there examples that I could follow?
--
Thanks.
-- Max