* [Buildroot] [PATCH 1/1] package/kodi: add optional dependency to clang
@ 2023-07-16 7:54 Bernd Kuhls
2023-07-18 20:55 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2023-07-16 7:54 UTC (permalink / raw)
To: buildroot; +Cc: Bernd Kuhls
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
package/kodi/kodi.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index 7cbc1df40a..54b7673150 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -93,6 +93,13 @@ 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_PACKAGE_CLANG),y)
+KODI_CONF_OPTS += -DCLANG_FORMAT_EXECUTABLE=$(HOST_DIR)/bin/clang-format
+KODI_DEPENDENCIES += clang
+else
+KODI_CONF_OPTS += -DCLANG_FORMAT_EXECUTABLE=OFF
+endif
+
ifeq ($(BR2_PACKAGE_KODI_RENDER_SYSTEM_GL),y)
KODI_CONF_OPTS += -DAPP_RENDER_SYSTEM=gl
KODI_DEPENDENCIES += libgl libglu
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-18 20:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-16 7:54 [Buildroot] [PATCH 1/1] package/kodi: add optional dependency to clang Bernd Kuhls
2023-07-18 20:55 ` Thomas Petazzoni via buildroot
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.