devicetree-compiler.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Marc-André Lureau" <marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
Cc: Devicetree Compiler
	<devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Subject: Re: [PATCH 1/2] Revert "libfdt: Add static lib to meson build"
Date: Mon, 3 Jan 2022 14:04:11 +0400	[thread overview]
Message-ID: <CAMxuvazDvsbMekArEngSECHrE0EzzLccZtPVUj44SZ0s-=NwqA@mail.gmail.com> (raw)
In-Reply-To: <CAPnjgZ2+SdumGaCp7TTvJ-WtC4=VdH6mbvAL+q6Hx3oRoCtjEw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Hi Simon

On Mon, Jan 3, 2022 at 1:59 PM Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> wrote:
>
> Hi Marc-André,
>
> On Mon, 3 Jan 2022 at 00:39, <marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> >
> > From: Marc-André Lureau <marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> >
> > You can build the static library by running meson configure
> > -Ddefault_library=both or static.
> >
> > This reverts commit 5216f3f1bbb70aef463b6cd78dbbb0f4c4c71606.
>
> What is the reason for the revert?

Did you miss the comment above?

There is no need to have a static_library() to build a static library.
library() handles both kinds, you just have to specify with the
-Ddefault_library option what you want.

> Regards,
> Simon
>
> >
> > Signed-off-by: Marc-André Lureau <marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> > ---
> >  libfdt/meson.build | 5 -----
> >  1 file changed, 5 deletions(-)
> >
> > diff --git a/libfdt/meson.build b/libfdt/meson.build
> > index 71f29b61e870..0307ffb8d7b9 100644
> > --- a/libfdt/meson.build
> > +++ b/libfdt/meson.build
> > @@ -24,11 +24,6 @@ libfdt = library(
> >    install: true,
> >  )
> >
> > -libfdt_a = static_library(
> > -  'fdt', sources,
> > -  install: true,
> > -)
> > -
> >  libfdt_inc = include_directories('.')
> >
> >  libfdt_dep = declare_dependency(
> > --
> > 2.34.1.8.g35151cf07204
> >
>


  parent reply	other threads:[~2022-01-03 10:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-03  7:38 [PATCH 0/2] Some build fixes marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA
     [not found] ` <20220103073855.1468799-1-marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2022-01-03  7:38   ` [PATCH 1/2] Revert "libfdt: Add static lib to meson build" marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA
     [not found]     ` <20220103073855.1468799-2-marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2022-01-03  9:59       ` Simon Glass
     [not found]         ` <CAPnjgZ2+SdumGaCp7TTvJ-WtC4=VdH6mbvAL+q6Hx3oRoCtjEw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-01-03 10:04           ` Marc-André Lureau [this message]
     [not found]             ` <CAMxuvazDvsbMekArEngSECHrE0EzzLccZtPVUj44SZ0s-=NwqA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-01-03 10:17               ` Simon Glass
     [not found]                 ` <CAPnjgZ1tK09j8b+kAyZKLjnB9fNY=3yP4e=CeSyPTJmfauLbkg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-01-03 10:22                   ` Marc-André Lureau
     [not found]                     ` <CAMxuvayq16QG29M7zyOd_bYVH+=Xyu8D-XTyrxuFSVYF+ipXbw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-01-03 23:47                       ` David Gibson
2022-01-03  7:38   ` [PATCH 2/2] setup.py: fix out of tree build marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA
     [not found]     ` <20220103073855.1468799-3-marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2022-01-03 23:49       ` David Gibson
2022-01-04 18:12       ` Rob Herring

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='CAMxuvazDvsbMekArEngSECHrE0EzzLccZtPVUj44SZ0s-=NwqA@mail.gmail.com' \
    --to=marcandre.lureau-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
    /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 NNTP newsgroup(s).