From: Peter Seiderer <ps.report@gmx.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v6 2/2] libdrm: change to meson build system
Date: Tue, 25 Jun 2019 22:02:33 +0200 [thread overview]
Message-ID: <20190625220233.4cdbda54@gmx.net> (raw)
In-Reply-To: <20190622202904.GG13664@scaer>
Hello Yann,
On Sat, 22 Jun 2019 22:29:04 +0200, "Yann E. MORIN" <yann.morin.1998@free.fr> wrote:
> Peter, All,
>
> On 2019-04-23 22:53 +0200, Peter Seiderer spake thusly:
> [--SNIP--]
> > diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk
> > index cc7350c10e..77e7ad01bd 100644
> > --- a/package/libdrm/libdrm.mk
> > +++ b/package/libdrm/libdrm.mk
> [--SNIP--]
> > ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y)
> > LIBDRM_DEPENDENCIES += libatomic_ops
> > ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y)
> > -LIBDRM_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -DAO_NO_SPARC_V9"
> > +LIBDRM_MESON_CFLAGS += -DAO_NO_SPARC_V9
>
> As discussed in the thread, the variable was renamed.
>
> I've resent a new iteration of the meson-package part as a standalone
> patch:
> https://patchwork.ozlabs.org/patch/1120719/
>
> As such, I've marked this thread as Changes requested.
Thanks for taking care of the patch...
>
> Care to resend this libdrm bump+conversion once the meson infra part
> lands?
Yes, will do....
Regards,
Peter
>
> Thanks! :-)
>
> Regards,
> Yann E. MORIN.
>
> > endif
> > endif
> >
> > ifeq ($(BR2_PACKAGE_LIBDRM_INTEL),y)
> > -LIBDRM_CONF_OPTS += --enable-intel
> > +LIBDRM_CONF_OPTS += -Dintel=true
> > LIBDRM_DEPENDENCIES += libpciaccess
> > else
> > -LIBDRM_CONF_OPTS += --disable-intel
> > +LIBDRM_CONF_OPTS += -Dintel=false
> > endif
> >
> > ifeq ($(BR2_PACKAGE_LIBDRM_RADEON),y)
> > -LIBDRM_CONF_OPTS += --enable-radeon
> > +LIBDRM_CONF_OPTS += -Dradeon=true
> > else
> > -LIBDRM_CONF_OPTS += --disable-radeon
> > +LIBDRM_CONF_OPTS += -Dradeon=false
> > endif
> >
> > ifeq ($(BR2_PACKAGE_LIBDRM_AMDGPU),y)
> > -LIBDRM_CONF_OPTS += --enable-amdgpu
> > +LIBDRM_CONF_OPTS += -Damdgpu=true
> > else
> > -LIBDRM_CONF_OPTS += --disable-amdgpu
> > +LIBDRM_CONF_OPTS += -Damdgpu=false
> > endif
> >
> > ifeq ($(BR2_PACKAGE_LIBDRM_NOUVEAU),y)
> > -LIBDRM_CONF_OPTS += --enable-nouveau
> > +LIBDRM_CONF_OPTS += -Dnouveau=true
> > else
> > -LIBDRM_CONF_OPTS += --disable-nouveau
> > +LIBDRM_CONF_OPTS += -Dnouveau=false
> > endif
> >
> > ifeq ($(BR2_PACKAGE_LIBDRM_VMWGFX),y)
> > -LIBDRM_CONF_OPTS += --enable-vmwgfx
> > +LIBDRM_CONF_OPTS += -Dvmwgfx=true
> > else
> > -LIBDRM_CONF_OPTS += --disable-vmwgfx
> > +LIBDRM_CONF_OPTS += -Dvmwgfx=false
> > endif
> >
> > ifeq ($(BR2_PACKAGE_LIBDRM_OMAP),y)
> > -LIBDRM_CONF_OPTS += --enable-omap-experimental-api
> > +LIBDRM_CONF_OPTS += -Domap=true
> > else
> > -LIBDRM_CONF_OPTS += --disable-omap-experimental-api
> > +LIBDRM_CONF_OPTS += -Domap=false
> > endif
> >
> > ifeq ($(BR2_PACKAGE_LIBDRM_ETNAVIV),y)
> > -LIBDRM_CONF_OPTS += --enable-etnaviv-experimental-api
> > +LIBDRM_CONF_OPTS += -Detnaviv=true
> > else
> > -LIBDRM_CONF_OPTS += --disable-etnaviv-experimental-api
> > +LIBDRM_CONF_OPTS += -Detnaviv=false
> > endif
> >
> > ifeq ($(BR2_PACKAGE_LIBDRM_EXYNOS),y)
> > -LIBDRM_CONF_OPTS += --enable-exynos-experimental-api
> > +LIBDRM_CONF_OPTS += -Dexynos=true
> > else
> > -LIBDRM_CONF_OPTS += --disable-exynos-experimental-api
> > +LIBDRM_CONF_OPTS += -Dexynos=false
> > endif
> >
> > ifeq ($(BR2_PACKAGE_LIBDRM_FREEDRENO),y)
> > -LIBDRM_CONF_OPTS += --enable-freedreno
> > +LIBDRM_CONF_OPTS += -Dfreedreno=true
> > else
> > -LIBDRM_CONF_OPTS += --disable-freedreno
> > +LIBDRM_CONF_OPTS += -Dfreedreno=false
> > endif
> >
> > ifeq ($(BR2_PACKAGE_LIBDRM_TEGRA),y)
> > -LIBDRM_CONF_OPTS += --enable-tegra-experimental-api
> > +LIBDRM_CONF_OPTS += -Dtegra=true
> > else
> > -LIBDRM_CONF_OPTS += --disable-tegra-experimental-api
> > +LIBDRM_CONF_OPTS += -Dtegra=false
> > endif
> >
> > ifeq ($(BR2_PACKAGE_LIBDRM_VC4),y)
> > -LIBDRM_CONF_OPTS += --enable-vc4
> > +LIBDRM_CONF_OPTS += -Dvc4=true
> > else
> > -LIBDRM_CONF_OPTS += --disable-vc4
> > +LIBDRM_CONF_OPTS += -Dvc4=false
> > endif
> >
> > ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
> > -LIBDRM_CONF_OPTS += --enable-udev
> > +LIBDRM_CONF_OPTS += -Dudev=true
> > LIBDRM_DEPENDENCIES += udev
> > else
> > -LIBDRM_CONF_OPTS += --disable-udev
> > +LIBDRM_CONF_OPTS += -Dudev=false
> > endif
> >
> > ifeq ($(BR2_PACKAGE_VALGRIND),y)
> > -LIBDRM_CONF_OPTS += --enable-valgrind
> > +LIBDRM_CONF_OPTS += -Dvalgrind=true
> > LIBDRM_DEPENDENCIES += valgrind
> > else
> > -LIBDRM_CONF_OPTS += --disable-valgrind
> > +LIBDRM_CONF_OPTS += -Dvalgrind=false
> > endif
> >
> > ifeq ($(BR2_PACKAGE_LIBDRM_INSTALL_TESTS),y)
> > -LIBDRM_CONF_OPTS += --enable-install-test-programs
> > +LIBDRM_CONF_OPTS += -Dinstall-test-programs=true
> > ifeq ($(BR2_PACKAGE_CUNIT),y)
> > LIBDRM_DEPENDENCIES += cunit
> > endif
> > endif
> >
> > -$(eval $(autotools-package))
> > +$(eval $(meson-package))
> > --
> > 2.21.0
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
>
next prev parent reply other threads:[~2019-06-25 20:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-23 20:53 [Buildroot] [PATCH v6 1/2] meson: add per package optional compiler/linker flags Peter Seiderer
2019-04-23 20:53 ` [Buildroot] [PATCH v6 2/2] libdrm: change to meson build system Peter Seiderer
2019-06-22 20:29 ` Yann E. MORIN
2019-06-25 20:02 ` Peter Seiderer [this message]
2019-06-12 16:37 ` [Buildroot] [PATCH v6 1/2] meson: add per package optional compiler/linker flags Yann E. MORIN
2019-06-18 15:02 ` Adam Duskett
2019-06-22 19:13 ` Thomas Petazzoni
2019-06-22 19:22 ` Yann E. MORIN
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=20190625220233.4cdbda54@gmx.net \
--to=ps.report@gmx.net \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.