All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/kodi: enable optional usage of ccache
Date: Wed, 28 Dec 2022 21:45:55 +0100	[thread overview]
Message-ID: <20221228204555.GI2498764@scaer> (raw)
In-Reply-To: <20221228200831.1185831-1-bernd.kuhls@t-online.de>

Bernd, All,

On 2022-12-28 21:08 +0100, Bernd Kuhls spake thusly:
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/kodi/kodi.mk | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
> index 812c4be6e8..0878296599 100644
> --- a/package/kodi/kodi.mk
> +++ b/package/kodi/kodi.mk
> @@ -68,7 +68,6 @@ KODI_EXTRA_DOWNLOADS += \
>  KODI_CONF_OPTS += \
>  	-DCMAKE_C_FLAGS="$(TARGET_CFLAGS) $(KODI_C_FLAGS)" \
>  	-DENABLE_APP_AUTONAME=OFF \
> -	-DENABLE_CCACHE=OFF \
>  	-DENABLE_DVDCSS=ON \
>  	-DENABLE_INTERNAL_CROSSGUID=OFF \
>  	-DWITH_FFMPEG=$(STAGING_DIR)/usr \
> @@ -89,6 +88,12 @@ KODI_CONF_OPTS += \
>  	-DLIBDVDNAV_URL=$(KODI_DL_DIR)/kodi-libdvdnav-$(KODI_LIBDVDNAV_VERSION).tar.gz \
>  	-DLIBDVDREAD_URL=$(KODI_DL_DIR)/kodi-libdvdread-$(KODI_LIBDVDREAD_VERSION).tar.gz
>  
> +ifeq ($(BR2_CCACHE),y)
> +KODI_CONF_OPTS += -DENABLE_CCACHE=ON
> +else
> +KODI_CONF_OPTS += -DENABLE_CCACHE=OFF
> +endif

Use of ccache is han dled globally in a single location, iwth the
toolchain wrapper, look for 'BR_CCACHE' in
toolchain/toolchain-wrapper.c.

Why would we need something special for Kodi?

Regards,
Yann E. MORIN.

>  ifeq ($(BR2_PACKAGE_KODI_RENDER_SYSTEM_GL),y)
>  KODI_CONF_OPTS += -DAPP_RENDER_SYSTEM=gl
>  KODI_DEPENDENCIES += libgl libglu
> -- 
> 2.34.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2022-12-28 20:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-28 20:08 [Buildroot] [PATCH 1/1] package/kodi: enable optional usage of ccache Bernd Kuhls
2022-12-28 20:45 ` Yann E. MORIN [this message]

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=20221228204555.GI2498764@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=bernd.kuhls@t-online.de \
    --cc=buildroot@buildroot.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 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.