From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 52946C4332F for ; Wed, 28 Dec 2022 20:46:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 9478440166; Wed, 28 Dec 2022 20:46:07 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 9478440166 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id orVvBfR7yaqa; Wed, 28 Dec 2022 20:46:06 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id C75BE400D3; Wed, 28 Dec 2022 20:46:05 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org C75BE400D3 Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id F41541BF2F2 for ; Wed, 28 Dec 2022 20:46:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id CDE9140211 for ; Wed, 28 Dec 2022 20:46:03 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org CDE9140211 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kVziwLrpFGL7 for ; Wed, 28 Dec 2022 20:46:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 33E934022A Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [IPv6:2a01:e0c:1:1599::11]) by smtp4.osuosl.org (Postfix) with ESMTPS id 33E934022A for ; Wed, 28 Dec 2022 20:46:01 +0000 (UTC) Received: from ymorin.is-a-geek.org (unknown [IPv6:2a01:cb19:8b51:cb00:58a9:4a7:c920:8cca]) (Authenticated sender: yann.morin.1998@free.fr) by smtp2-g21.free.fr (Postfix) with ESMTPSA id F0EC4200401; Wed, 28 Dec 2022 21:45:55 +0100 (CET) Received: by ymorin.is-a-geek.org (sSMTP sendmail emulation); Wed, 28 Dec 2022 21:45:55 +0100 Date: Wed, 28 Dec 2022 21:45:55 +0100 From: "Yann E. MORIN" To: Bernd Kuhls Message-ID: <20221228204555.GI2498764@scaer> References: <20221228200831.1185831-1-bernd.kuhls@t-online.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221228200831.1185831-1-bernd.kuhls@t-online.de> User-Agent: Mutt/1.5.22 (2013-10-16) X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1672260358; bh=NbjU9f0Tk2qU/qg+AWUGeZDK4kqyaa3CqU/PwZiqVYk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Axzp8ryMweFYIfeLFVnet0wYmxv8mlUWeRF2WWil8JqDqAhZkNu7lEyU2tWJb5X5t rE5rc1JH9NYuJ0+YXiwnsoMKdKuYKw5WNpefsEmlHYNiZ1dOp9gLKPYFEsaZBHkQeT 4/X+KULe8L6JR9wz79A9MuQuyMvKEnYKkBYCGveEAJcDOLpiA8KNcXMkWf1xFqepCF BWtJtflk+Zvj9OZYGonIFyHHpEkay9ennF2qz8WLT0ZZtItYAvVNwt9IeO6+vL41ar Z2YIWzk8zxzkslLV/WAbwl1HoQslwooKMPojH0FwbiuuEYYppI3YlTV4/hl+uegaZp 6IkpD655dQ2YA== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=free.fr header.i=@free.fr header.a=rsa-sha256 header.s=smtp-20201208 header.b=Axzp8ryM Subject: Re: [Buildroot] [PATCH 1/1] package/kodi: enable optional usage of ccache X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: buildroot@buildroot.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Bernd, All, On 2022-12-28 21:08 +0100, Bernd Kuhls spake thusly: > Signed-off-by: Bernd Kuhls > --- > 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