From patchwork Wed May 5 19:22:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Bilas X-Patchwork-Id: 1474530 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Fb66V05Hqz9sPf for ; Thu, 6 May 2021 05:22:25 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id CD035402B0; Wed, 5 May 2021 19:22:23 +0000 (UTC) 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 XzC4_MQIg2Xp; Wed, 5 May 2021 19:22:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 47ECB40228; Wed, 5 May 2021 19:22:22 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 4C2121BF5A1 for ; Wed, 5 May 2021 19:22:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 3B361404EA for ; Wed, 5 May 2021 19:22:20 +0000 (UTC) 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 VT0jw3Rp8hyt for ; Wed, 5 May 2021 19:22:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mail.grinn-global.com (mail.grinn-global.com [77.55.128.204]) by smtp4.osuosl.org (Postfix) with ESMTPS id D834C404E1 for ; Wed, 5 May 2021 19:22:18 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV (16) Received: from bartekk-pc.lan (host-81-161-202-62.oxylion.net.pl [81.161.202.62]) by server220076.nazwa.pl (Postfix) with ESMTP id 54F8C1C590E; Wed, 5 May 2021 21:22:16 +0200 (CEST) From: Bartosz Bilas To: buildroot@buildroot.org Date: Wed, 5 May 2021 21:22:10 +0200 Message-Id: <20210505192210.1354164-1-b.bilas@grinn-global.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] package/log4qt: add telnet optional logging X-BeenThere: buildroot@busybox.net 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: Bartosz Bilas Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Telnet logging is an optional feature that's disabled by default. Signed-off-by: Bartosz Bilas --- package/log4qt/log4qt.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/log4qt/log4qt.mk b/package/log4qt/log4qt.mk index b01d9c6611..29b533503b 100644 --- a/package/log4qt/log4qt.mk +++ b/package/log4qt/log4qt.mk @@ -17,4 +17,10 @@ else LOG4QT_CONF_OPTS += -DBUILD_WITH_DB_LOGGING=OFF endif +ifeq ($(BR2_PACKAGE_QT5BASE_NETWORK),y) +LOG4QT_CONF_OPTS += -DBUILD_WITH_TELNET_LOGGING=ON +else +LOG4QT_CONF_OPTS += -DBUILD_WITH_TELNET_LOGGING=OFF +endif + $(eval $(cmake-package))